-
I am using subcomand "create" for example:
But I want to ignore option Any ideas about how could this be done? the option -f can be set or not, but I only want to ignore it when -u==new |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There currently isn't a way to define a conditional conflict (there are some conditional requires). We have an exploration at more customization at #3476 but that would likely not be very ergonomic. This can easily be handled on the caller side and you can even make errors that match clap errors. |
Beta Was this translation helpful? Give feedback.
There currently isn't a way to define a conditional conflict (there are some conditional requires). We have an exploration at more customization at #3476 but that would likely not be very ergonomic.
This can easily be handled on the caller side and you can even make errors that match clap errors.