Skip to content

projecteru2/cli

Repository files navigation

CLI

CLI for Eru.

Modify resources for eru pods / nodes, manipulate workloads and images.

Develop

We use go mod to manage requirements.
Start developing:

$ git clone github.com/projecteru2/cli
$ make test binary

Commands' source code in commands dir, you can define your own commands inside. Use make test to test and make build to build. If you want to modify and build in local, you can use make deps to generate vendor dirs.

Dockerized cli

Image: projecteru2/cli

docker run -it --rm \
  --net host \
  --name eru-cli \
  projecteru2/cli \
  /usr/bin/eru-cli <PARAMS>

User Manual

Refer to this document