Skip to content

Debug command and subcommands not visible in --help output #7330

@assagman

Description

@assagman

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

  1. Run opencode --help
  2. Notice debug is not listed in the commands
  3. Run opencode debug - shows generic help options
  4. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions