Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Update readme with correct service versions and profile (bp #935) #936

Merged
merged 1 commit into from
Mar 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down