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

Closed
opened 2026-02-16 17:43:46 -05:00 by yindo · 2 comments
Owner

Originally created by @assagman on GitHub (Jan 8, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @assagman on GitHub (Jan 8, 2026). Originally assigned to: @rekram1-node on GitHub. ## 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
yindo closed this issue 2026-02-16 17:43:46 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 8, 2026):

This issue is related to #1524, which had a similar goal to add descriptions for subcommands but became stale. The fix in #7328 supersedes that earlier issue and addresses the debug command visibility problem with all necessary subcommands.

@github-actions[bot] commented on GitHub (Jan 8, 2026): This issue is related to #1524, which had a similar goal to add descriptions for subcommands but became stale. The fix in #7328 supersedes that earlier issue and addresses the debug command visibility problem with all necessary subcommands.
Author
Owner

@assagman commented on GitHub (Jan 9, 2026):

merged: https://github.com/anomalyco/opencode/pull/7328

@assagman commented on GitHub (Jan 9, 2026): merged: https://github.com/anomalyco/opencode/pull/7328
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4436