Skip to content

Feture Request: conflictsWith (oppositive than needs) #88

@mingtsay

Description

@mingtsay

Let's have

$cmd->flag('a')->boolean();
$cmd->flag('b')->boolean()->conflictsWith('c');
$cmd->flag('c')->boolean();

to get the following result:
PASS: (no args), -a, -b, -c, -ab, -ac
FAIL: -bc, -abc

(Please use thumb to +1 instead reply unless you are adding additional information.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions