Skip to content
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

Add an option to run commands without the need to confirm that you wish to proceed #54

Open
yvesgurcan opened this issue Apr 27, 2023 · 1 comment

Comments

@yvesgurcan
Copy link
Contributor

There is a confirm function in the CLI that kicks in in two cases:

  • Before applying a migration.
  • Before updating content entries.

It would be nice to have a way to skip this prompt and assume "Yes" by adding something like --assume-yes to a command.

This change would benefit the CLI in that it would make it friendlier for potential use in CI/CD and also avoid confirming every time while testing and actively modifying a migration against a test environment, for example.

@bezoerb
Copy link
Member

bezoerb commented Apr 28, 2023

There's already .option('-y, --yes', 'Assume "yes" as answer to all prompts and run non-interactively.') for the commands migrate, execute and content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants