cli: publish the finite option vocabularies through clap #198
No reviewers
Labels
No labels
priority/P0
priority/P1
priority/P2
release/v0.1.0
status/blocked
status/planned
type/bug
type/design
type/test-gap
type/tracker
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
natsukium/felis!198
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/finite-option-values-187"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #187.
--formatandcapture --sourceparsed their values by hand, so clap published no possible values into--help,__mangen, or the generated completions. Both vocabularies are nowValueEnums (human|json,human|jsonl, and the four region sources), so one declaration reaches every published surface, and a bad value is refused with the list of what the verb accepts.felis bridgestill takes the source vocabulary as a JSON string, soparse_region_sourcestays as that wrapper.Help text itself gained a test: an insta snapshot walks the visible command tree and renders
render_long_help()for the root and every subcommand, so a reworded flag or a lost possible value is a reviewed diff. A completion test asserts the zsh script carries the--formatand--sourcevalues.Doc cascade:
docs/reference/cli.mdnames the possible values where it describes--formatandcapture --source;CHANGELOG.mdrecords the user-visible help/completion change.Verified: just check green (fmt, clippy, nextest, deny, proto-compat); reviewed by pi luna + pi sol; docs proofread by Gemini gemini-3.8-flash-high
Deferred