opencode
opencode copied to clipboard
Debug command and subcommands not visible in --help output
Description
The debug command and all its subcommands are not visible in --help output because they are missing the describe property in yargs command definitions.
Running opencode --help does not list the debug command, and running opencode debug without arguments shows an error instead of listing available subcommands.
Plugins
None
OpenCode version
0.0.0-dev-202601080611
Steps to reproduce
- Run
opencode --help - Notice
debugis not listed in the commands - Run
opencode debug- shows generic help options - Run
opencode debug lsp- shows generic help options
Screenshot and/or share link
Operating System
macOS Tahoe 26.3 arm64
Terminal
ghostty 1.2.3 tmux next-3.5
Fix: #7328