argh icon indicating copy to clipboard operation
argh copied to clipboard

support flattening

Open tamird opened this issue 4 years ago • 2 comments

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

tamird avatar Aug 07 '20 19:08 tamird

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

Boscop avatar Nov 13 '20 23:11 Boscop

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.

tamird avatar Nov 13 '20 23:11 tamird