circleci-cli

CLI for interacting with CircleCI's API

  • Owner: jszwedko/circleci-cli
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

circleci-cli Circle CI Go Report Card

Command line utility for interacting with CircleCI.

Allows you to list recent builds, projects, retry builds, and more!

Demo video

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
documentation.

The CircleCI HTTP API response schemas (which this utility uses) are not well documented so please report any issues you witness

Installing

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.

Set $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).

Developing

Requires Go 1.5 and
GOVENDOREXPERIMENT=1
to properly include dependencies.

Uses gvt to manipulate dependencies.

  • Building: make build
  • Testing: make test
  • Building cross compiled binaries: make dist (will install
    gox if needed)

Note: 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 encoding/json to
output information about the struct it was deserializing into when an error occurs.

Main metrics

Overview
Name With Ownerjszwedko/circleci-cli
Primary LanguageGo
Program languageMakefile (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2015-08-14 21:21:06
Pushed At2021-11-09 08:52:30
Last Commit At2018-05-12 12:12:53
Release Count5
Last Release Name0.2.0 (Posted on )
First Release Name0.0.1 (Posted on )
用户参与
Stargazers Count65
Watchers Count3
Fork Count8
Commits Count57
Has Issues Enabled
Issues Count9
Issue Open Count2
Pull Requests Count6
Pull Requests Open Count2
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private