Skip to content

jalvarado91/cli

 
 

Repository files navigation

A command-line tool for managing insfrastructure running on Krane.

npm version

Official Documentation: https://www.krane.sh/#/docs/cli

Install

You can install the Krane CLI using npm. The following command will install the cli globally allowing you to run krane commands from anywhere on your machine. Note that this requires node to be installed on your machine.

npm i -g krane

Update

npm update -g krane

Examples

# Display CLI usage and commands.
$ krane help 

# Authenticate with a Krane instance.
$ krane login http://example.com:8500

# List all deployments and their status.
$ krane list 

# Returns information about the containers for a deployment.
$ krane status 

# Read realtime logs for a deployment.
$ krane logs <deployment>

Checkout the official docs site for the complete list of avaiable commands.

Contributing

The Krane CLI is written in Typescript using the OCLIF framework.

Commands are located under the /src directory

About

Command-line tool for interacting with Krane

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 99.5%
  • Other 0.5%