Codefresh command line utility
npm install codefresh
Codefresh CLI provides a full and flexible interface to interact with Codefresh.
!demo
npm install -g codefresh
For other installation possibilities check out the installation documentation.
codefresh auth create-context --api-key {{API_KEY}}
$xslt
codefresh Commands:
codefresh completion generate bash completion script
codefresh tag [tags..] Add an image tag.
codefresh untag [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 Show logs of a build.
codefresh restart Restart a build by its id.
codefresh terminate Terminate a build by its id.
codefresh wait Wait until a condition will be met on a build.
codefresh run 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]
``