cli should have a --pretend flag to simulate execution
See original GitHub issueFeature Request
Description
It would be nice to have the --pretend flag in our boost commands to just display the command actions without executing. boost deploy -e production --pretend
, for example, would check that you are in a Booster project and the environment exists, but it wouldn’t perform the deployment in the cloud provider. The same could work for nuke or new commands
Possible Solution
- Detect de flag in the relevant commands and pretend executing the cloud provider functions or writing the new files in the project folder
Additional information
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to build CLI tool with Go and Cobra - Dev Genius
A command-line interface (CLI) is a text-based interface to execute programs. ... Once installed you should have the cobra-cli command available.
Read more >List of Chromium Command Line Switches - Peter Beverloo
List of Chromium Command Line Switches ; --arc-generate-play-auto-install ⊗, Flag that enables developer options needed to generate an ARC Play Auto Install ...
Read more >Command line interface — Snakemake 7.19.1 documentation
This is used to pretend that the rules were executed, in order to fool future invocations of snakemake. Fails if a file does...
Read more >Command: apply | Terraform - HashiCorp Developer
The terraform apply command executes the actions proposed in a Terraform plan to create, update, or destroy infrastructure.
Read more >Test run command without executing it but showing result of ...
The most common flags are: --dry-run , --simulate and --fake , which many program scripts usually offer them. But the keyword here is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have created the
boost clean
,boost build
andboost status
issues in GitHubI would display a confirmation message on actions that overwrite or delete files, unless you pass the
-y
,--yes
,-f
or--force
flag