Knative developer experience, docs, reference Knative CLI implementation
Go to file
dr.max 500b7d1371 fixes(issue #111) generically for all command groups (#218)
Explores all sub-commands from root and adds a RunE for all
commands that are groups with child commands and without a RunE.
The added RunE will return the correct errors when the command
is called with empty sub-command or with an unknown sub-command.
It will also print the command help message first.

Added a gotest.tools test for root.go.
2019-07-02 23:50:32 -07:00
cmd/kn Set current namespace from kubeconfig by default (#172) 2019-06-24 11:23:05 -07:00
config Add the support to build container image for kn (#152) 2019-06-06 17:30:40 -07:00
docs fixes(issue #111) generically for all command groups (#218) 2019-07-02 23:50:32 -07:00
hack Add kn revision delete command (#207) 2019-06-28 10:21:08 -07:00
pkg fixes(issue #111) generically for all command groups (#218) 2019-07-02 23:50:32 -07:00
test Adds kn route list command (#202) 2019-07-02 11:25:32 -07:00
vendor fixes(issue #111) generically for all command groups (#218) 2019-07-02 23:50:32 -07:00
.gitignore chore: Update dependencies (#68) 2019-04-30 09:48:33 -07:00
DEVELOPMENT.md Chore: Fix typos in docs (#178) 2019-06-17 12:08:46 -07:00
LICENSE Initial commit 2018-12-12 16:45:51 -08:00
OWNERS Add rhuss and maximilien to OWNERS to increase approver speed. (#209) 2019-06-26 16:32:05 -07:00
README.md Chore: Fix typos in docs (#178) 2019-06-17 12:08:46 -07:00
go.mod fixes(issue #111) generically for all command groups (#218) 2019-07-02 23:50:32 -07:00
go.sum fixes(issue #111) generically for all command groups (#218) 2019-07-02 23:50:32 -07:00

README.md

Knative Client

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

Goals:

  1. Follow closely the Knative serving and eventing APIs
  2. Be scriptable to allow users to create different Knative workflows
  3. Expose useful Golang packages to allow integration into other programs or CLIs or plugins
  4. Use consistent verbs, nouns, and flags for various commands
  5. Be easily extended via a plugin mechanism (similar to Kubectl) to allow for experimentations and customization

Docs

Start with the user's guide and from there you can read about common use cases, get detail docs on each command, and even how to extend the kn CLI. Links below for easy access.

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 version

$ kn revision <TAB>
describe get

Developers

If you'd like to contribute, please see CONTRIBUTING for more information.

To build kn, see our Development guide.