Knative developer experience, docs, reference Knative CLI implementation
Go to file
Kenjiro Nakayama 72ec64390b Fix flag parse error by calling flag.Parse first (#42)
* Fix flag parse error by calling flag.Parse

Fixes https://github.com/knative/client/issues/37

* Fix workaround for parse error
2019-03-29 04:34:53 -07:00
cmd/kn Refactor to allow testing; write first tests. (#10) 2019-01-29 12:40:22 -08:00
pkg Fix flag parse error by calling flag.Parse first (#42) 2019-03-29 04:34:53 -07:00
test go.mod and go.sum updates (#46) 2019-03-26 12:41:51 -07:00
vendor Incorporate reference to knative/test-infra for setting up automated tests. (#34) 2019-03-05 16:31:05 -08:00
.gitignore Incorporate reference to knative/test-infra for setting up automated tests. (#34) 2019-03-05 16:31:05 -08:00
LICENSE Initial commit 2018-12-12 16:45:51 -08:00
OWNERS Add OWNERS file, initially with WG leads + evan and matt (#3) 2019-01-10 17:46:31 -08:00
README.md Update README.md (#44) 2019-03-29 04:27:53 -07:00
go.mod go.mod and go.sum updates (#46) 2019-03-26 12:41:51 -07:00
go.sum go.mod and go.sum updates (#46) 2019-03-26 12:41:51 -07:00

README.md

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