Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 960 Bytes

README.md

File metadata and controls

48 lines (29 loc) · 960 Bytes

Knative Client

Knative developer experience best practices, reference Knative CLI implementation, and reference Knative client libraries.

If you are interested in contributing, see the Knative community contribution guide.

How to build

Dependencies:

go mod is used and required for dependencies

Requirements:

  • Golang 1.11.4

Building:

$ go build ./cmd/...

Notes:

  • knative CLI must be built outside of the $GOPATH folder unless you explicitly use export GO111MODULE=on.
  • For building, Go 1.11.4 is required due to a go mod issue

Bash auto completion:

Run following to enable bash auto completion

$ source <(kn completion)

Use TAB to list available sub-commands

$ kn <TAB>
completion revision service

$ kn revision <TAB>
describe list