Summary
The shell completion scripts in src/commands/completions.js are missing several commands and flags that exist in bin/rolecraft.js.
Location
src/commands/completions.js:1-297
Missing items
Commands: check is missing from the COMMANDS array and from bash/zsh/fish completion scripts.
Flags: --no-mcp and --skills-sh are missing from OPTION_FLAGS.
Expected behavior
- Add
'check' to the COMMANDS array (line 2-5)
- Add
'--no-mcp', '--skills-sh' to OPTION_FLAGS (line 25-28)
- Add
check to the bash case statement (line 52) and zsh/fish completion handlers
Test hint
Update src/commands/completions.test.js to verify the generated bash/zsh/fish scripts contain the new commands and flags.
Summary
The shell completion scripts in
src/commands/completions.jsare missing several commands and flags that exist inbin/rolecraft.js.Location
src/commands/completions.js:1-297Missing items
Commands:
checkis missing from theCOMMANDSarray and from bash/zsh/fish completion scripts.Flags:
--no-mcpand--skills-share missing fromOPTION_FLAGS.Expected behavior
'check'to theCOMMANDSarray (line 2-5)'--no-mcp','--skills-sh'toOPTION_FLAGS(line 25-28)checkto the bash case statement (line 52) and zsh/fish completion handlersTest hint
Update
src/commands/completions.test.jsto verify the generated bash/zsh/fish scripts contain the new commands and flags.