Skip to content

Document CLI dataset commands#141

Merged
simantak-dabhade merged 1 commit into
mainfrom
docs/cli-readme
Jun 11, 2026
Merged

Document CLI dataset commands#141
simantak-dabhade merged 1 commit into
mainfrom
docs/cli-readme

Conversation

@pranavjana

Copy link
Copy Markdown
Collaborator

Summary

  • add README examples for BigSet dataset CLI commands
  • document common create flags, CSV export, status/rows/export/populate/stop commands
  • include a short agent workflow example for Codex or Claude Code

Verification

  • docs-only change

@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds a new "CLI dataset commands" section to the README documenting how to use the bigset terminal CLI for dataset operations. The section includes example commands for creating, populating, listing, inspecting, and exporting datasets, a reference table of commonly used create flags such as --wait, --cadence, --csv, and --json, plus guidance on backend port targeting and agent-driven workflows.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The PR title clearly and concisely describes the main change: documenting CLI dataset commands in the README.
Description check ✅ Passed The description accurately explains the changes made, covering the addition of CLI examples, documented commands, and agent workflow examples, all related to the changeset.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/cli-readme

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
README.md (1)

165-165: 💤 Low value

Consider more readable cadence value formatting.

The pipe-separated cadence values manual\|30m\|6h\|12h\|daily\|weekly are technically correct but could be formatted for better readability. Consider alternatives:

  • manual, 30m, 6h, 12h, daily, weekly
  • manual | 30m | 6h | 12h | daily | weekly (with spaces)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` at line 165, Replace the compact pipe-escaped cadence token
`--cadence manual\|30m\|6h\|12h\|daily\|weekly` with a more readable list in the
README table cell for the cadence option; e.g., `--cadence manual, 30m, 6h, 12h,
daily, weekly` or `--cadence manual | 30m | 6h | 12h | daily | weekly` (with
spaces) so the available values are easier to scan, updating the table row that
contains the `--cadence` example accordingly.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Around line 137-142: The README currently shows using the --json flag with the
rows command but the "Useful create flags" table only documents create-related
flags; update the documentation to avoid confusion by either renaming that table
header to clarify it only covers create (e.g., "Useful create flags") or,
preferably, expand the flags table to include command-scoped flags such as
--json (used by rows and export) and list any other global or command-specific
flags; locate references to rows and export and add an entry for --json
(describe its effect) or change the table title accordingly so the scope is
clear.

---

Nitpick comments:
In `@README.md`:
- Line 165: Replace the compact pipe-escaped cadence token `--cadence
manual\|30m\|6h\|12h\|daily\|weekly` with a more readable list in the README
table cell for the cadence option; e.g., `--cadence manual, 30m, 6h, 12h, daily,
weekly` or `--cadence manual | 30m | 6h | 12h | daily | weekly` (with spaces) so
the available values are easier to scan, updating the table row that contains
the `--cadence` example accordingly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ce830dc0-bd62-4fc4-8614-8f3699dbc21a

📥 Commits

Reviewing files that changed from the base of the PR and between d80c01a and 8fc347f.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md
Comment on lines +137 to +142
Inspect an existing dataset:

```bash
bigset status <datasetId>
bigset rows <datasetId> --json
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Document the --json flag or clarify flag table scope.

Line 141 uses --json with the rows command, but this flag is not documented in the "Useful create flags" table below (lines 158-166). Consider either:

  1. Expanding the flags table to cover all commands and include --json for rows and export, or
  2. Renaming the table to clarify it only documents create command flags
📝 Option 1: Expand the table to document flags for all commands

Replace the table at lines 157-166 with:

-Useful create flags:
+Useful CLI flags:

 | Flag | What it does |
 |------|-------------|
 | `--rows <n>` | Maximum rows to collect |
 | `--wait` | Keep the command open until population finishes |
 | `--csv <path>` | Write populated rows to a CSV file |
+| `--json` | Output results as JSON (works with `rows` command) |
 | `--skip-populate` | Create the dataset without starting population |
 | `--cadence manual\|30m\|6h\|12h\|daily\|weekly` | Set refresh cadence |
 | `--backend-port <port>` | Target a non-default local backend port |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` around lines 137 - 142, The README currently shows using the
--json flag with the rows command but the "Useful create flags" table only
documents create-related flags; update the documentation to avoid confusion by
either renaming that table header to clarify it only covers create (e.g.,
"Useful create flags") or, preferably, expand the flags table to include
command-scoped flags such as --json (used by rows and export) and list any other
global or command-specific flags; locate references to rows and export and add
an entry for --json (describe its effect) or change the table title accordingly
so the scope is clear.

@MMeteorL MMeteorL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simantak-dabhade simantak-dabhade left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simantak-dabhade simantak-dabhade merged commit fe9955e into main Jun 11, 2026
3 checks passed
@simantak-dabhade simantak-dabhade deleted the docs/cli-readme branch June 11, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants