Skip to content

Commit

Permalink
Update README.md with new command and fix subcommand help text
Browse files Browse the repository at this point in the history
  • Loading branch information
camerondurham committed Aug 27, 2021
1 parent 57611b9 commit 2fefb1b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,19 @@ Usage:
ch running
```

### `ch update`

update an environment's image

If you specified a Dockerfile when using `ch create`, this will re-build that image.
If you specified a remote container registry when using `ch create`, it will try
to re-pull the image from that path.

```txt
Usage:
ch update [ENVIRONMENT_NAME]
```

## More Examples

```shell script
Expand Down
2 changes: 1 addition & 1 deletion cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

// updateCmd represents the update command
var updateCmd = &cobra.Command{
Use: "update",
Use: "update [ENVIRONMENT_NAME]",
Short: "download or rebuild environment's image",
Args: cobra.MinimumNArgs(1),
Version: rootCmd.Version,
Expand Down

0 comments on commit 2fefb1b

Please sign in to comment.