After migrating to clap 3.0 from structopt I am observing the vector of strings are not being parsed properly.. Even if we declare the arg as Vec<String> its only reading the first value, creating a vector of 1 item and when encountering the second value throwing an error..
Possible course of actions.
Figure out whats the correct way to parse vector of strings in clap 3.0.
If that's not possible for some reason figure out a work around.
Observations
Vec parsing happens correctly for the top level command, which derives Parser.
Vec parsing fails at internal subcommand options, like create_tx, compact_filters_options etc. These options cannot derive Parser as Subcommand is already derived for them, and causes conflicting implementation.
After migrating to clap 3.0 from structopt I am observing the vector of strings are not being parsed properly.. Even if we declare the arg as
Vec<String>
its only reading the first value, creating a vector of 1 item and when encountering the second value throwing an error..Possible course of actions.
If that's not possible for some reason figure out a work around.
Observations
Parser
.create_tx
,compact_filters_options
etc. These options cannot deriveParser
asSubcommand
is already derived for them, and causes conflicting implementation.