clap
clap copied to clipboard
External Subcommands on Dervied Struct
Howdy,
I need to parse external subcommands into a struct built using the derive API, and I'm having a hard time figuring out how to do this. I can't find any reference to this kind of functionality in the docs, so is there something I'm missing, or is this just not implemented yet?
At the moment, external subcommands can only be serialzied into a Vec<String>
or Vec<OsString>
See the use of external_subcommand
in https://docs.rs/clap/latest/clap/_derive/_cookbook/git_derive/index.html
I'm going to assume this is resolved. If there is anything else remaining for this, let us know!