Skip to content

feat: Rename config-ssh --diff to --dry-run #2575

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

Merged
merged 3 commits into from
Jun 22, 2022
Merged

Conversation

mafredri
Copy link
Member

Since the intent between diff and dry-run are different, this change
allows for interactive prompts to be shown during --dry-run,
previously prompts were disabled. Dry-run can also be chanied with
--yes and --use-previous-options for non-interactive modes.

Dry-run is like a normal run with changes replaced by diff.

Fixes #2530

Since the intent between diff and dry-run are different, this change
allows for interactive prompts to be shown during `--dry-run`,
previously prompts were disabled. Dry-run can also be chanied with
`--yes` and `--use-previous-options` for non-interactive modes.

Dry-run is like a normal run with changes replaced by diff.

Fixes #2530
@mafredri mafredri self-assigned this Jun 22, 2022
@mafredri mafredri requested a review from a team June 22, 2022 12:47
Co-authored-by: Cian Johnston <cian@coder.com>
@mafredri mafredri merged commit 11c47e0 into main Jun 22, 2022
@mafredri mafredri deleted the mafredri/config-ssh-dry-run branch June 22, 2022 15:33
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

Successfully merging this pull request may close these issues.

rename coder config-ssh --diff to coder config-ssh --dry-run
2 participants