Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Add coder envs rm command for removing environments#145

Merged
cmoog merged 1 commit into
masterfrom
envs-rm
Oct 26, 2020
Merged

Add coder envs rm command for removing environments#145
cmoog merged 1 commit into
masterfrom
envs-rm

Conversation

@cmoog

@cmoog cmoog commented Oct 19, 2020

Copy link
Copy Markdown
Contributor

Adds a new command

coder envs rm [...environment_names] [flags]

@cmoog cmoog marked this pull request as ready for review October 20, 2020 00:58
@cmoog cmoog force-pushed the envs-rm branch 2 times, most recently from f7e76b8 to 9dcf1b9 Compare October 21, 2020 04:59
@cmoog cmoog force-pushed the envs-rm branch 2 times, most recently from a6c998c to e76a60e Compare October 23, 2020 16:07
@cmoog cmoog requested a review from fuskovic October 23, 2020 16:12
Comment thread internal/cmd/envs.go
}
if !force {
confirm := promptui.Prompt{
Label: fmt.Sprintf("Delete environments %q? (all data will be lost)", args),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like how we're using the force flag with this confirmation and all.

@cmoog cmoog force-pushed the envs-rm branch 3 times, most recently from 93a8794 to ffc797b Compare October 26, 2020 03:14
@cmoog cmoog merged commit 6f8b9b8 into master Oct 26, 2020
@cmoog cmoog deleted the envs-rm branch October 26, 2020 03:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants