CLI client for Shipyard
Note: This is under active development and is currently very limited in functionality.
make
When you first run (and any time you want to change endpoints) you will need to run shipyard as follows:
./shipyard --username <shipyard-username> --key <shipyard-api-key> --url <shipyard-url>
You can also specify and optional --api-version
option for a specify version
of the Shipyard API.
Once you run as above, Shipyard will cache the credentials in $HOME/.shipyard.cfg
.
You can then run the Shipyard CLI without passing creds each time.
./shipyard -h
./shipyard show-applications
./shipyard show-applications --name <app-name>
./shipyard show-containers
./shipyard show-applications --id <container-id>
./shipyard show-hosts
./shipyard show-hosts --name <short-name-of-host>