Skip to content

fix: resolve namespaced sub-commands in help command#530

Open
SAY-5 wants to merge 1 commit into
python-poetry:mainfrom
SAY-5:fix/help-namespaced-subcommand
Open

fix: resolve namespaced sub-commands in help command#530
SAY-5 wants to merge 1 commit into
python-poetry:mainfrom
SAY-5:fix/help-namespaced-subcommand

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented May 13, 2026

The help command only read the first token of the command name, so app help foo bar failed for namespaced commands while app help "foo bar" worked. This makes command_name a list argument and joins the tokens before lookup, mirroring how namespaced commands are parsed during normal invocation.

Closes #258

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quotes required to use the built-in help command with a nested subcommand

1 participant