cli-utils repository contains mutliple packages consisting of the common code/business logic between kuberactl
and litmusctl
.
# Go Modules
require github.com/mayadata-io/cli-utils v0.0.0-20210119141112-84fe44fff4e7
v0.0.0-20210119141112-84fe44fff4e7
being the version(commit hash in this case).
Getting the latest commit To get the latest commit of this repo, run the following command
$ go get github.com/mayadata-io/cli-utils@<commit-hash>
The following sample depicts the way to import a package from this repo
import "github.com/mayadata-io/cli-utils/chaos"