Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

confirmation prompt for down, prune and recreate commands #440

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sanket-0510
Copy link
Contributor

fixes: #324
I have added the confirmation prompt for critical commands like down, prune recreate also added the --silent flag which will bypass this prompt.

@Sanket-0510
Copy link
Contributor Author

Sanket-0510 commented Apr 9, 2024

I think I pushed the wrong branch, but I have corrected it.

Signed-off-by: Sanket <telisanket2002@gmail.com>
@Sanket-0510
Copy link
Contributor Author

@dzikowski do checkout these commands

@dzikowski
Copy link
Contributor

It looks legit. Could you also fix tests? It includes e2e-network tests and snapshots probably.

@Sanket-0510
Copy link
Contributor Author

yeah I have ran this command npm run test:e2e-update to update snapshots but nothing changed.

@dzikowski
Copy link
Contributor

It fails on e2e-network/docker/test-01-simple.sh script. You can execute it locally and check. I guess this is missing --silent flag in the sh test file.

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

Successfully merging this pull request may close these issues.

Show dialog on destructive commands
2 participants