chore(man): Generate man pages for subcommands
Related Issue(s)
Description
When cargo build is executed, generates man pages for subcommands as well.
There will be multiple manpages, right?
After looking at docs.rs, I think it outputs only one file. So the * in PKGBUILD is unnecessary.
There will be multiple manpages, right?
@MuntasirSZN Yes, currently only rustowl(1) are generated. This does not include usages for subcommands. This change will also generate man pages such as rustowl-check(1) and rustowl-toolchain-install(1).
I am really skeptical about this, running man rustowl and the user knows about everything, looks better.
Agree with @MuntasirSZN . I would like to bring all of them into one man page. The current RustOwl man page is short enough to do this.
@cordx56 That may be possible using clap::Command::flatten_help, so I'll try this later.
@cordx56 That may be possible using
clap::Command::flatten_help, so I'll try this later.
I tried this but it didn't work as I expected. According to clap-rs/clap#5761, this is not yet supported.