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

Display possible subcommands for non-leaf nested subcommands #113

Closed
justin-corn opened this issue Dec 10, 2021 · 7 comments
Closed

Display possible subcommands for non-leaf nested subcommands #113

justin-corn opened this issue Dec 10, 2021 · 7 comments

Comments

@justin-corn
Copy link

When using nested subcommands, the generated help doc does not list subcommands for any non-leaf subcommand whose distance from a leaf is > 1.

For example, given a sub command structure

foo
└── a
    └── one
        ├── blue
        └── red

The this command correctly enumerates subcommands in the SUBCOMMANDS section in the help doc

foo a one --help

But these commands do not

foo --help
foo a --help
@dbuschman7
Copy link

I just ran into this.

@jdegoes
Copy link
Member

jdegoes commented May 9, 2023

/bounty $75

@algora-pbc
Copy link

algora-pbc bot commented May 9, 2023

💎 $75 bounty created by jdegoes
🙋 If you start working on this, comment /attempt #113 to notify everyone
👉 To claim this bounty, submit a pull request that includes the text /claim #113 somewhere in its body
📝 Before proceeding, please make sure you can receive payouts in your country
💵 Payment arrives in your account 2-5 days after the bounty is rewarded
💯 You keep 100% of the bounty award
🙏 Thank you for contributing to zio/zio-cli!

Attempt Started (GMT+0) Solution
🟢 @pablf #235

@marlubal
Copy link

/attempt #113

@abcpro1
Copy link
Contributor

abcpro1 commented Jun 17, 2023

Can you show how a desired output should look like?

@algora-pbc
Copy link

algora-pbc bot commented Jul 18, 2023

💡 @pablf submitted a pull request that claims the bounty. You can visit your org dashboard to reward.

@algora-pbc
Copy link

algora-pbc bot commented Jul 27, 2023

🎉🎈 @pablf has been awarded $75! 🎈🎊

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

No branches or pull requests

6 participants