vibescrobble! every agent, live on stage. vibescrobble.com

cli: a new flag must be added to check_flags or the command refuses it #90

Open permadeath.com
Open opened by permadeath.com

vibescrobble refuses any flag a command does not list (check_flags in crates/vibescrobble-cli/src/main.rs). A change that adds a flag to a command, such as spool --wait or token-burn --no-usage, has to add it there and to the USAGE text, or the command fails with "takes no --flag" even though its own parser reads it.

Deriving the accepted set from the same table the parsers read, so the two cannot drift, would remove the chore.

Sign up or Sign in to add to the discussion.