Skip to content

docs: align README and CLI help with actual command behavior#33

Merged
Maksim-Gr merged 1 commit into
mainfrom
docs/readme-cli-accuracy
Jun 28, 2026
Merged

docs: align README and CLI help with actual command behavior#33
Maksim-Gr merged 1 commit into
mainfrom
docs/readme-cli-accuracy

Conversation

@Maksim-Gr

@Maksim-Gr Maksim-Gr commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Audited the README against the actual CLI source and fixed four inaccuracies. Docs-only — no behavior change. All 26 tests still pass.

Changes

  1. scan example output (README) — regenerated from real clickforge scan video_events.json output. Fixed the stale heading (Run with chosen engine:To generate a migration with the chosen engine, run:), added the --order-by flag the tool actually prints, and corrected the type column to show the Nullable(...) wrapper for nullable fields.
  2. scan's -n, --name flag (README) — it's a no-op for scan (output keys off the source filename, never the table name). Description now says so.
  3. Generic synopsis (README) — noted that kafka/scan/table take a single <INPUT> while diff takes <OLD> <NEW>.
  4. cli.rs help strings — the input arg help said "NDJSON file (one JSON object per line)", but the code also accepts JSON arrays and stdin (-). Now reads "Path to a JSON array or NDJSON file (or `-` for stdin)", matching the README and reality.

- Regenerate the scan example output to match real program output
  (heading, --order-by flag, Nullable(...) type wrapper)
- Document that scan's --name flag has no effect on output
- Note that diff takes <OLD> <NEW> rather than a single <INPUT>
- Fix input help strings to mention JSON arrays and stdin, not just NDJSON
@Maksim-Gr Maksim-Gr merged commit 7c287f4 into main Jun 28, 2026
1 check passed
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.

1 participant