Please complete the following tasks
Clap Version
3.0.5
Describe your use case
I have an argument like:
Arg::new("exec-batch")
.long("exec-batch")
.short('X')
.min_values(1)
.allow_hyphen_values(true)
.value_terminator(";")
.value_name("cmd")
Ideally, I would be able to use .value_hint(ValueHint::CommandWithArguments) for this, but since it isn't a positional argument, I can't.
Describe the solution you'd like
Allow using ValueHint::CommandWithArguments for non-positional arguments, as long as:
- It accepts multiple values
- there is a
value_terminator supplied
Alternatives, if applicable
possibly have a seperate hint type for this use case?
Additional Context
No response
Please complete the following tasks
Clap Version
3.0.5
Describe your use case
I have an argument like:
Ideally, I would be able to use
.value_hint(ValueHint::CommandWithArguments)for this, but since it isn't a positional argument, I can't.Describe the solution you'd like
Allow using
ValueHint::CommandWithArgumentsfor non-positional arguments, as long as:value_terminatorsuppliedAlternatives, if applicable
possibly have a seperate hint type for this use case?
Additional Context
No response