Add -y parameter to CLI #66
Labels
No Label
priority
high
priority
low
priority
medium
priority
very high
BUG
Feature
High Priority
Low Priority
Medium Priority
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: public/pyceo#66
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
All of the CLI commands should accept a
-y
or--yes
flag which allows the user to skip the confirmation prompts. This will be useful for automation.Just to check; should I add the -y flag if a command already has something similar? For example, the updateprograms command already has a dry run flag that can skip the only confirmation prompt for the command.
If
--dry-run
and-y
are used together, the effect should be the same as if only--dry-run
had been specified - that is, no confirmation prompt at all (so the command can be run without any interaction).