Skip to content

Commit

Permalink
fix(cli): delete environment command wasn't linked to parent
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Jun 25, 2018
1 parent 36aa4d0 commit e0789f1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/reference/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,20 @@ Examples:
| -------- | -------- | ----------- |
| `key` | Yes | The key of the configuration variable. Separate with dots to get a nested key (e.g. key.nested).

### garden delete environment

Deletes a running environment.

This will trigger providers to clear up any deployments in a Garden environment and reset it.
When you then run `garden configure env` or any deployment command, the environment will be reconfigured.

This can be useful if you find the environment to be in an inconsistent state, or need/want to free up
resources.

##### Usage

garden delete environment

### garden deploy

Deploy service(s) to your environment.
Expand Down
1 change: 1 addition & 0 deletions src/commands/delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export class DeleteCommand extends Command {

subCommands = [
DeleteConfigCommand,
DeleteEnvironmentCommand,
]

async action() { return {} }
Expand Down

0 comments on commit e0789f1

Please sign in to comment.