Add -y parameter to CLI #66

Open
opened 7 months ago by merenber · 2 comments
Owner

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.

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.
kliwonga self-assigned this 4 months ago
Collaborator

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.

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.
Poster
Owner

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).

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).
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: public/pyceo#66
Loading…
There is no content yet.