Code Monkey home page Code Monkey logo

cli's Introduction

Codefresh-cli

Build: Codefresh build status Release: Codefresh build status

Codefresh CLI provides a full and flexible interface to interact with Codefresh.

demo

Install

In case you have node.js installed you can easily install with NPM.

npm install -g codefresh

For other installation possibilities check out the installation documentation.

Authenticate

Generate a new api key from the account settings page.

codefresh auth create-context --api-key {{API_KEY}}

Usage

codefresh <command>

Commands:
  codefresh completion             generate bash completion script
  codefresh tag <id> [tags..]      Add an image tag.
  codefresh untag <id> [tags..]    Untag an image.
  codefresh annotate               Annotate a resource with labels.
  codefresh patch                  Patch a resource by filename or stdin.
  codefresh auth                   Manage authentication contexts.
  codefresh create                 Create a resource from a file or stdin.
  codefresh delete                 Delete a resource by file or resource name.
  codefresh generate               Generate resources as Kubernetes image pull secret and Codefresh Registry token.
  codefresh get                    Display one or many resources.
  codefresh replace                Replace a resource by filename.
  codefresh version                Print version.
  codefresh logs <id>              Show logs of a build.
  codefresh restart <id>           Restart a build by its id.
  codefresh terminate <id>         Terminate a build by its id.
  codefresh wait <id..>            Wait until a condition will be met on a build.
  codefresh run <name>             Run a pipeline by id or name and attach the created workflow logs.
  codefresh delete-release [name]  Delete a helm release from a kubernetes cluster.
  codefresh install-chart          Install or upgrade a Helm chart Repository flag can be either absolute url or saved repository in Codefresh.
  codefresh helm-promotion         Promote a Helm release in another environment.
  codefresh test-release [name]    Test a helm release.

Options:
  --cfconfig  Custom path for authentication contexts config file  [default: "/Users/itaigendler/.cfconfig"]
  --help      Show help  [boolean]

Documentation

For more information please visit the official CLI documentation site.

cli's People

Contributors

alex-codefresh avatar alexei-led avatar andrii-codefresh avatar arikmaor avatar atgardner avatar daniel-codefresh avatar danielm-codefresh avatar denis-codefresh avatar elad-codefresh avatar eti-codefresh avatar itai-codefresh avatar kim-codefresh avatar kosta709 avatar kostis-codefresh avatar mikhail-klimko avatar nazar-codefresh avatar ncodefresh avatar nivanovp avatar olegz-codefresh avatar oren-codefresh avatar palson-cf avatar pasha-codefresh avatar roi-codefresh avatar rotem-codefresh avatar snyk-bot avatar vadim-kharin-codefresh avatar verchol avatar yaroslav-codefresh avatar yuri-denysenko-codefresh avatar ziv-codefresh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cli's Issues

error messages for wrong commands

error messages for wrong commands (or typos) are confusing. sometimes no error is shown, sometimes an undescriptive error is shown

gulp tasks

create gulp tasks

  1. publish cf-cli to registry
  2. update cf-cli version
  3. run tests

[run pipeline] running pipeline throw error

cf run 5a3c081091dbe100015e5379
nhandledRejection StatusCodeError: 400 - "Error: Error while trying to fetch commits, incorrect branch / revision, "
at new StatusCodeError (/Users/codefresh/.nvm/versions/node/v8.0.0/lib/node_modules/codefresh/node_modules/request-promise-core/lib/errors.js:32:15)
at Request.plumbing.callback (/Users/codefresh/.nvm/versions/node/v8.0.0/lib/node_modules/codefresh/node_modules/request-promise-core/lib/plumbing.js:104:33)
at Request.RP$callback [as _callback] (/Users/codefresh/.nvm/versions/node/v8.0.0/lib/node_modules/codefresh/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/Users/codefresh/.nvm/versions/node/v8.0.0/lib/node_modules/codefresh/node_modules/request/request.js:186:22)
at emitTwo (events.js:125:13)
at Request.emit (events.js:213:7)
at Request. (/Users/codefresh/.nvm/versions/node/v8.0.0/lib/node_modules/codefresh/node_modules/request/request.js:1163:10)
at emitOne (events.js:115:13)
at Request.emit (events.js:210:7)
at IncomingMessage. (/Users/codefresh/.nvm/versions/node/v8.0.0/lib/node_modules/codefresh/node_modules/request/request.js:1085:12)
at Object.onceWrapper (events.js:312:19)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1045:12)
at _combinedTickCallback (internal/process/next_tick.js:102:11)
at process._tickCallback (internal/process/next_tick.js:161:9)

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.