From c941a6ec19380eccb5437abd704e6db046123f94 Mon Sep 17 00:00:00 2001 From: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Date: Wed, 24 Mar 2021 16:51:26 -0400 Subject: [PATCH] Update readme with correct service versions and profile (#935) The current code examples were referencing outdated docker versions and also a profile that is not available by default. Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> --- cli/README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/cli/README.md b/cli/README.md index 22fe02a470..b414170917 100644 --- a/cli/README.md +++ b/cli/README.md @@ -8,27 +8,27 @@ The tool will use Golang's de-facto standard for writing CLIs [`Cobra`](https:// ```sh # if you are in the Go development world -$ GO111MODULE=on go run main.go run service apache -v 2.4 -$ GO111MODULE=on go run main.go run service mysql -v 5.6 +$ GO111MODULE=on go run main.go run service apache -v 2.4.20 +$ GO111MODULE=on go run main.go run service mysql -v 5.7.12 # if you prefer to install the CLI $ GO111MODULE=on go build -i -o op -$ ./op run service apache -v 2.4 -$ ./op run service mysql -v 5.6 -$ ./op run profile observability +$ ./op run service apache -v 2.4.20 +$ ./op run service mysql -v 5.7.12 +$ ./op run profile metricbeat ``` The tool also provides a way to stop those running services: ```sh # if you are in the Go development world -$ GO111MODULE=on go run main.go stop service apache -v 2.4 -$ GO111MODULE=on go run main.go stop service mysql -v 5.6 +$ GO111MODULE=on go run main.go stop service apache -v 2.4.20 +$ GO111MODULE=on go run main.go stop service mysql -v 5.7.12 # if you prefer to install the CLI $ GO111MODULE=on go build -i -o op -$ ./op stop service apache -v 2.4 -$ ./op stop service mysql -v 5.6 -$ ./op stop profile observability +$ ./op stop service apache -v 2.4.20 +$ ./op stop service mysql -v 5.7.12 +$ ./op stop profile metricbeat ``` >By the way, `op` comes from `Observability Provisioner`.