Command line utility for interacting with CircleCI.
Allows you to list recent builds, projects, retry builds, and more!
Currently in alpha stages so the interface may change. Feedback and feature
requests are welcome! Install and run
circleci-cli -h to see current help
The CircleCI HTTP API response schemas (which this utility uses) are not well documented so please report any issues you witness
OS X (64 bit)
curl -sL https://github.com/jszwedko/circleci-cli/releases/download/0.1.0/darwin_amd64 > circleci-cli sudo mv circleci-cli /usr/local/bin/ sudo chmod +x /usr/local/bin/circleci-cli
Linux (64 bit)
curl -sL https://github.com/jszwedko/circleci-cli/releases/download/0.1.0/linux_amd64 > circleci-cli sudo mv circleci-cli /usr/local/bin/ sudo chmod +x /usr/local/bin/circleci-cli
See the releases page for additional platforms.
$CIRCLE_TOKEN to an API token (you can generate one under your account settings). Consider adding this to your
~/.profile or shell equivalent.
Alternatively, install the latest via:
GOVENDOREXPERIMENT=1 go get github.com/jszwedko/circleci-cli (requires Go >= 1.5 to be installed).
Requires Go 1.5 and
to properly include dependencies.
gvt to manipulate dependencies.
- Building cross compiled binaries:
make dist(will install gox if needed)
encoding/json is vendored from Go 1.7.1 in order to apply this
change as it is very useful for
people filing bugs against this project since it causes
output information about the struct it was deserializing into when an error occurs.