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

include subcommands #7

Open
JOJ0 opened this issue Jun 15, 2020 · 1 comment
Open

include subcommands #7

JOJ0 opened this issue Jun 15, 2020 · 1 comment

Comments

@JOJ0
Copy link

JOJ0 commented Jun 15, 2020

Hi,
my program has subcommands that have their own extensive --help output.

command -h
command subcmd1 -h
command subcmd2 -h
command subcmd3 -h

Is there a quick way to tell cli2man to combine the outputs of all these commands into a single manpage? Or would this rather be a case where a seperate manpage for each of the programs should be made and then statet in the see-also section?

thanks and all the best
Jojo

@tobimensch
Copy link
Owner

tobimensch commented Jul 10, 2020

Pull requests are welcome.

At this point separate manpages would probably easier, but adding support for this feature is certainly not impossible, if someone wants to. I don't have time for this feature though, as I don't have a need for it currently.

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

2 participants