New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To use 'encapsia plugins install' without confirmation you need to use --force; Maybe create a -y for click.confirm? #52
Comments
What's your usecase? |
There are two cases where this would be usefull: One is on upgrading a set of plugins on several servers with a script/automated or even manually, it prompts for Y (user input) on each run. If using --force, it will reinstall the already installed plugins. The second one is on initial plugin install on a server/system, where you want to install all plugins for the first time with a script/automated, and it prompts for Y (user input) (this actually can be solved using --force, but is used inappropriately) |
Ok, so I assume this would be something like How do you feel about downgrades? I'd rather not automatically do those with this new flag. |
Confirmation dialoguesThere are multiple confirmation prompts in other places, described in the table below. Potentially problematic situations, where the action might not be what the user intended when issuing
Except where highlighted, IssuesThere are two distinct issues with
Proposed new options and changesA compromise could be to keep the existing
[Implementation detail] Deprecating |
+1 to |
Sys ops state that they are not using encapsia-cli anymore, or at least not in their toolchain. Testing does, however, use the CLI so they might need to adapt. |
If we intend to deprecate --force, we should provide an alternative CL option. (if suggested option is in bold, it was taken from Petre's previous suggestions)
|
No description provided.
The text was updated successfully, but these errors were encountered: