Skip to content

nbio/cart

Repository files navigation

cart

Fetcher of build artifacts from Circle CI.

Install

go get github.com/nbio/cart

One step closer to continuous delivery

Get an artifact from the latest green build of your current project's master

$ cart path/to/artifact

Authentication uses $CIRCLE_TOKEN in your shell's environment or the -token flag on the command line.

Get an artifact from a specific branch

$ cart -branch feature1 path/to/artifact

Get an artifact from a specific build number

$ cart -build 42 path/to/artifact

Get an artifact from a specific user/repo

$ cart -repo nbio/cart path/to/artifact

All together now

$ cart -repo nbio/cart -branch feature1 -o output/elsewhere path/to/artifact