question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cli should have a --pretend flag to simulate execution

See original GitHub issue

Feature 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:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
davidverducommented, Jan 20, 2021

I have created the boost clean, boost build and boost status issues in GitHub

1reaction
davidverducommented, Jan 20, 2021

I would display a confirmation message on actions that overwrite or delete files, unless you pass the -y, --yes, -f or --force flag

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found