feat: support exclusive/conflicting options #3978
Labels
good first issue
type: feature
code contributing to the implementation of a feature and/or user facing functionality
Is your feature request related to a problem? Please describe.
Before the switch from
oclif
tocommander
we could configureexclusive
options, seecli/src/commands/deploy.js
Line 622 in f3dc4ed
That is, we could configure to report an error when a user tries to use options that won't make sense together.
commander
doesn't seem to support it, based on tj/commander.js#1358 (comment)Describe the solution you'd like
A ability to configure conflicting/exclusive options.
Describe alternatives you've considered
N/A
Additional context
We can implement this in a custom way in the CLI repo, or contribute to
commander
Can you submit a pull request?
Yes
The text was updated successfully, but these errors were encountered: