Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add thor help command to view all subcommands simultaneously #894

Open
hlascelles opened this issue Dec 16, 2024 · 0 comments
Open

Add thor help command to view all subcommands simultaneously #894

hlascelles opened this issue Dec 16, 2024 · 0 comments

Comments

@hlascelles
Copy link

I would like to be able to see all thor commands and subcommands in one go.

ie not:

❯ myapp --help
Commands:
  myapp foo            # Foo commands
  myapp qux            # Qux commands

❯ myapp foo --help
Commands:
  myapp foo baz        # Baz!
  myapp foo bar        # Bar!

I would like:

❯ myapp --tree-help
Commands:
  myapp foo            # Foo commands
  myapp foo baz        # Baz!
  myapp foo bar        # Bar!
  myapp qux            # Qux commands
  myapp qux pop        # Pop!

The switch could be one of:

myapp --tree-help
myapp  --help-tree
myapp --help --tree
myapp --tree
....

If you think this would be useful I could have a go... Or does something like it exist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant