fablo icon indicating copy to clipboard operation
fablo copied to clipboard

Show dialog on destructive commands

Open dzikowski opened this issue 3 years ago • 3 comments

Fablo allows to call destructive commands on the network: down, prune, recreate etc. They should prompt if use is sure of doing it to avoid unwanted loss of the network state. It should be also allow to bypass the prompt with --silent flag, like ./fablo recreate --silent

dzikowski avatar Jun 08 '22 10:06 dzikowski

I think I understood the issue, I would like to give it a try!

Sanket-0510 avatar Apr 09 '24 16:04 Sanket-0510

Hi @dzikowski I am ready with my code. Is there any way through which I can build the fablo binary through source code and test the commands?

Sanket-0510 avatar Apr 09 '24 18:04 Sanket-0510

Yes! You can use ./fablo-build.sh which builds local docker image with fablo distribution, and then use the Fablo script from source code ./fablo.sh init, ./fablo.sh up etc.

Also, once you're done with code changes, you will also need to run npm run test:e2e-update to update our tests, and commit changes.

dzikowski avatar Apr 09 '24 18:04 dzikowski