GithubHelp home page GithubHelp logo

mathieux51 / circleci-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jszwedko/circleci-cli

0.0 1.0 0.0 3.5 MB

CLI for interacting with CircleCI's API

License: MIT License

Makefile 4.13% Go 95.87%

circleci-cli's Introduction

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.

circleci-cli's People

Contributors

braintreeps avatar johanneswuerbach avatar jszwedko avatar kovetskiy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.