This project provides a unified command line interface to wodby.com.
Fetch the latest release for your platform:
export WODBY_CLI_LATEST_URL=$(curl -s https://api.github.com/repos/wodby/wodby-cli/releases/latest | grep linux-amd64 | grep browser_download_url | cut -d '"' -f 4)
wget -qO- "${WODBY_CLI_LATEST_URL}" | sudo tar xz -C /usr/local/bin
export WODBY_CLI_LATEST_URL=$(curl -s https://api.github.com/repos/wodby/wodby-cli/releases/latest | grep darwin-amd64 | grep browser_download_url | cut -d '"' -f 4)
wget -qO- "${WODBY_CLI_LATEST_URL}" | tar xz -C /usr/local/bin
You can run the Wodby CLI in your shell by typing wodby
.
The current output of wodby
is as follows:
CLI client for Wodby
Usage:
wodby [command]
Available Commands:
ci
init WODBY_INSTANCE_UUID
run COMMAND
build SERVICE/IMAGE
release
deploy
help Help about any command
version Shows Wodby CLI version
Flags:
--api-key string API key
--api-prefix string API prefix (default "api/v2")
--api-proto string API protocol (default "https")
--ci-config-path string Path to CI config (defaut "/tmp/.wodby-ci.json")
--dind Docker in docker mode (for init)
-h, --help Help for wodby
-v, --verbose Verbose output
Use "wodby [command] --help" for more information about a command.