diff --git a/README.md b/README.md index f099996..bb1431b 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,12 @@ Show current status. Example: ctcli status ``` +### exec +Execute a command inside a container. Example: +```shell +ctcli exec busybox cat /etc/hosts +``` + ### backup Makes an archive containing `current-release/`, `data/` and `config/` folders and puts it into `releases/` folder diff --git a/cmd/version.go b/cmd/version.go index 3d7cf61..e878184 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" ) -const VERSION int = 6 +const VERSION int = 7 const COMMIT string = "%%commit_hash%%" var versionCmd = &cobra.Command{