Skip to content

docs: fix stale --json examples after PR #19's --format flag - #66

Merged
DTTerastar merged 1 commit into
mainfrom
docs/qua-64-stale-json-flag
Nov 3, 2026
Merged

DTTerastar merged 1 commit into
mainfrom
docs/qua-64-stale-json-flag

Conversation

@Terastar-Paperclip

Copy link
Copy Markdown
Contributor

Summary

  • PR feat!: replace --json with --format markdown|json #19 ("feat!: replace --json with --format markdown|json") removed the standalone --json flag, but three README examples still used it: the features bullet and the workouts list / workouts stats quick-start examples.
  • A reader following those examples today hits an unknown-flag error instead of getting JSON output.
  • Grepped the repo for other --json/--csv mentions; the only remaining instances were these three, plus the already-correct routines list --format json line.

Test plan

  • grep -rn '\-\-json\|\-\-csv' across .md/.go/.txt confirms no stale flag references remain
  • Confirmed --format markdown|json is the actual flag on workouts list and workouts stats in cmd/workouts.go

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Try this PR without building it

Review binaries for commit 677d720 — direct download, no login required:

Platform Download
macOS (Intel) liftoff-export-darwin-amd64.zip
macOS (Apple silicon) liftoff-export-darwin-arm64.zip
Linux x86_64 liftoff-export-linux-amd64.zip
Linux arm64 liftoff-export-linux-arm64.zip
Windows x86_64 liftoff-export-windows-amd64.zip

Unzip, then on macOS/Linux chmod +x the binary before running. macOS Gatekeeper blocks unsigned binaries on first run — right-click → Open, or xattr -d com.apple.quarantine <file>.

Links are resolved by nightly.link, a third-party redirector for GitHub Actions artifacts, because GitHub has no anonymous artifact URL of its own. Signed-in users can also browse the run directly. Artifacts expire 14 days after the run. Updated on each push to this PR.

Three README examples (features list, workouts list, workouts stats)
still showed the removed --json flag instead of --format json. A
reader following them hits an unknown-flag error.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
@DTTerastar
DTTerastar merged commit c8b2306 into main Nov 3, 2026
11 checks passed
@DTTerastar
DTTerastar deleted the docs/qua-64-stale-json-flag branch November 3, 2026 17:31
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.

2 participants