Add "Safe" CLI mode #118

Closed
opened 2021-02-02 13:29:51 -05:00 by JoshuaBoniface · 2 comments
JoshuaBoniface commented 2021-02-02 13:29:51 -05:00 (Migrated from git.bonifacelabs.ca)

Add a "safe" CLI mode where more actions (e.g. VM state changes) will prompt for confirmation.

This should not be that hard, as the --yes option can just be added to more commands and ignored when not in safe mode.

The actual mode itself can be set by an environment variable. Must decide if the default is safe, or "unsafe" mode, and then allow that change via the envvar.

Add a "safe" CLI mode where more actions (e.g. VM state changes) will prompt for confirmation. This should not be that hard, as the `--yes` option can just be added to more commands and ignored when not in safe mode. The actual mode itself can be set by an environment variable. Must decide if the default is safe, or "unsafe" mode, and then allow that change via the envvar.
JoshuaBoniface commented 2021-02-17 11:30:56 -05:00 (Migrated from git.bonifacelabs.ca)

Default of safe and adding "PVC_CLI_UNSAFE" envvar should work well.

Default of safe and adding "PVC_CLI_UNSAFE" envvar should work well.
JoshuaBoniface commented 2021-04-08 13:36:46 -04:00 (Migrated from git.bonifacelabs.ca)

closed via commit 629cf62385

closed via commit 629cf623858bd39a43e0daf28caa87558ae40159
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: parallelvirtualcluster/pvc#118
No description provided.