-
Notifications
You must be signed in to change notification settings - Fork 92
Labels
bugSomething isn't workingSomething isn't workingsupportabilityNeed support from the communityNeed support from the community
Milestone
Description
Several folks and I have been hit by this issue:
notation sign --key=$KEY_NAME $IMAGEworksnotation sign $IMAGE --key=$KEY_NAMEdoes not works and errors out withsigning key not found.
The same problem applies to any non-required flag which is used together with an argument, i.e. -p/-u.
Using flags after arguments seems not to be supported by urfave/cli, see urfave/cli#976.
We should at least error early with a meaningful message instead of executing the normal workflow and having a random error message.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingsupportabilityNeed support from the communityNeed support from the community
Type
Projects
Status
Done