argh
argh copied to clipboard
support flattening
structopt supports "flattening", which allows one struct to be embedded in another "transparently". This is useful as documented in structopt, but also useful when two commands have the same arguments and the author does not wish to duplicate the code.
https://docs.rs/structopt/0.3.16/structopt/#flattening
Yes please! Without the ability to chain subcommands, flattening is desperately needed.
Btw, this seems to be a duplicate of https://github.com/google/argh/issues/15
Agreed, looks like the same issue to me. This one has labels, so I'll leave it open until the maintainers do something with the other one.