Discord Username / User ID
interferon0
What does this improvement do?
Add testsprite completion [bash|zsh|fish] to print a shell completion script. Command names, subcommands, and global flags are derived from the assembled Commander program at call time, so the script can never drift from the real command tree. The shell is auto-detected from $SHELL when the argument is omitted.
Details / implementation notes
New command in src/commands/completion.ts (pure renderCompletion per shell + auto-detect). 11 unit tests. Registered in src/index.ts with a spec builder that walks the program; root --help snapshot updated. No new dependencies. Full gate green. PR to follow once assigned.
Confirmations
Discord Username / User ID
interferon0
What does this improvement do?
Add testsprite completion [bash|zsh|fish] to print a shell completion script. Command names, subcommands, and global flags are derived from the assembled Commander program at call time, so the script can never drift from the real command tree. The shell is auto-detected from $SHELL when the argument is omitted.
Details / implementation notes
New command in src/commands/completion.ts (pure renderCompletion per shell + auto-detect). 11 unit tests. Registered in src/index.ts with a spec builder that walks the program; root --help snapshot updated. No new dependencies. Full gate green. PR to follow once assigned.
Confirmations