File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,16 @@ static flags = {
5959 dependsOn: [' extra-flag' ], // this flag requires another flag
6060 exclusive: [' extra-flag' ], // this flag cannot be specified alongside this other flag
6161 exactlyOne: [' extra-flag' , ' another-flag' ], // exactly one of these flags must be provided
62+ compatible: [' extra-flag' ], // this flag can ONLY be used in combination with the provided flags
6263 relationships: [ // define complex relationships between flags
6364 // Make this flag dependent on all of these flags
6465 {type: ' all' , flags: [' flag-one' , ' flag-two' ]}
6566 // Make this flag dependent on at least one of these flags
6667 {type: ' some' , flags: [' flag-three' , ' flag-four' ]}
6768 // Make this flag exclusive of all these flags
6869 {type: ' none' , flags: [' flag-five' , ' flag-six' ]}
70+ // Make this only compatible with these flags
71+ {type: ' only' , flags: [' flag-one' , ' flag-two' ]}
6972
7073 // Make this flag dependent on all of these flags
7174 {type: ' all' , flags: [
You can’t perform that action at this time.
0 commit comments