Follow-up from post-merge review of #337.
Problem
PR #337 added the public --count flag to both camp list and camp project list, but the checked-in generated CLI reference was not regenerated. The committed docs still omit the new examples and options in:
docs/cli-reference/camp-reference.md
docs/cli-reference/camp_list.md
docs/cli-reference/camp_project_list.md
Evidence
On the merged PR head (16e064f5ad2420ec26de4b37890e0293c174ee23), generating docs into a temporary directory includes the missing entries:
go run ./cmd/camp gendocs --output "$tmp" --format markdown --single
The generated output includes:
camp list --count Print only the total number of campaigns
--count Print only the total number of campaigns
camp project list --count Print only the total number of projects
--count Print only the total number of projects
But the committed docs from #337 do not include those lines.
Impact
Users reading the CLI reference will not discover the new count-only mode, and docs drift makes future CLI reference updates noisier.
Suggested fix
Run just docs in projects/camp and commit the generated docs/cli-reference updates.
Review verification
Focused tests still pass:
go test ./cmd/camp ./cmd/camp/project ./internal/project ./internal/ui
Follow-up from post-merge review of #337.
Problem
PR #337 added the public
--countflag to bothcamp listandcamp project list, but the checked-in generated CLI reference was not regenerated. The committed docs still omit the new examples and options in:docs/cli-reference/camp-reference.mddocs/cli-reference/camp_list.mddocs/cli-reference/camp_project_list.mdEvidence
On the merged PR head (
16e064f5ad2420ec26de4b37890e0293c174ee23), generating docs into a temporary directory includes the missing entries:go run ./cmd/camp gendocs --output "$tmp" --format markdown --singleThe generated output includes:
camp list --count Print only the total number of campaigns--count Print only the total number of campaignscamp project list --count Print only the total number of projects--count Print only the total number of projectsBut the committed docs from #337 do not include those lines.
Impact
Users reading the CLI reference will not discover the new count-only mode, and docs drift makes future CLI reference updates noisier.
Suggested fix
Run
just docsinprojects/campand commit the generateddocs/cli-referenceupdates.Review verification
Focused tests still pass:
go test ./cmd/camp ./cmd/camp/project ./internal/project ./internal/ui