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