/leap-cli

Primary LanguageGoMIT LicenseMIT

Leap CLI

Usage

Installation

Run leap --help to see available options.

Also available here

Automatic installation with script

with curl:

curl -s https://raw.githubusercontent.com/tensorleap/leap-cli/master/install.sh | bash

with wget:

wget -q -O - https://raw.githubusercontent.com/tensorleap/leap-cli/master/install.sh | bash

Manually

  1. Download the binary from the releases page that matches your OS and machine architecture.
  2. Rename the binary to leap
  3. Save it /usr/local/bin (or anywhere else in your $PATH)

Shell Completions

In order to enabled shell completions, add source <(leap completion zsh) to your ~/.zshrc file

Building locally

  1. Clone this repo
  2. Run go build . (the built file will be named leap-cli)

you can also run go run . to compile and run the source

Updating docs

make docgen

Uninstall

sudo rm $(which leap)

Development requirements

brew install go

brew install golangci-lint