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

feat: subcommand specific help header? #163

Open
babysnakes opened this issue Mar 15, 2021 · 3 comments
Open

feat: subcommand specific help header? #163

babysnakes opened this issue Mar 15, 2021 · 3 comments

Comments

@babysnakes
Copy link

Description

I'm looking for a way to specify subcommand specific help header (a description - could be long - that precedes the options). Currently I only found a way to specify the same help header across all subcommands (with the Create function.

(Sorry if I miss something obvious but I'm on new territory here 😄).

Thanks in advance.

Haim

@panmona
Copy link

panmona commented Feb 5, 2022

I am wondering the same thing and couldn't find anything about it. I think that this is currently not implemented.

@babysnakes
Copy link
Author

@panmau, Yeah, I figured it out by now 🙂.

What I finally did is add a --long-help subcommand for all subcommands where I print the description. Coming from unix to dotnet, it seems that the tools for supporting command line applications are not mature enough but hopefully it'll get there.

I'm leaving it open so maybe it'll get implemented.

@bartelink
Copy link
Member

If either of you fancy taking a run at this, there are now active maintainers, so any approach can get a yes/no and get reviewed and/or released quickly

@bartelink bartelink changed the title Is there a way to specify subcommand specific help header? feat: subcommand specific help header? Dec 14, 2023
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

3 participants