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
- Download the binary from the releases page that matches your OS and machine architecture.
- Rename the binary to
leap
- 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
- Clone this repo
- 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