Go to csctl at Github and clone the repository to your local device:
git clone [email protected]:SovereignCloudStack/csctl.git
cd csctl
We use a Makefile
to building the binary.
You can see the available build targets with make help
.
With make build
you create the executable.
With ./csctl --help
you can see the available sub-commands.
BTW: Be sure to use ./
, so that you don't accidentally use a different csctl
from your $PATH
.
Up to now only create
is a feasible sub-command.
If you modify the source of csctl
, you can skip the build step by using go run
:
go run main.go create --help
In the tests
directory is a cluster stack for the docker provider.
You can create the cluster stack like this:
❯ go run main.go create tests/cluster-stacks/docker/ferrol -m hash
Created releases/docker-ferrol-1-27-v0-sha-7ff9188