Knative developer experience, docs, reference Knative CLI implementation
Go to file
Murugappan Chetty b64f70c593 tests: Use mock kn client tests for service list and delete (#527)
* refactor delete service unit test with mock kn client (#358)

* refactor list svc unit test with mock kn client (#358)

* refactor list svc unit test with mock kn client (#358)

* fix review comments for pr 527 (#358)

* fix review comments for pr 527 (#358)
2019-11-29 01:40:22 -08:00
.github chore: Add some clarification to the pull request template for where to put CHANGELOG entries (#494) 2019-11-12 02:14:23 -08:00
cmd/kn Update serving dependency to 0.8; change all import paths (#368) 2019-08-15 18:09:08 -07:00
config Update serving dependency to 0.8; change all import paths (#368) 2019-08-15 18:09:08 -07:00
conventions Boolean flags by presence (#283) 2019-07-26 17:15:50 -07:00
docs chore(docs): Updates basic workflow doc (#502) 2019-11-13 05:16:27 -08:00
hack chore(build): Spacing fix for newer iTerm (>=3.3.7) (#509) 2019-11-19 05:12:07 -08:00
pkg tests: Use mock kn client tests for service list and delete (#527) 2019-11-29 01:40:22 -08:00
test tests: Avoid downloading deps in unit tests (#525) 2019-11-29 00:46:23 -08:00
vendor add common codes for sources client (#514) 2019-11-27 00:50:21 -08:00
.gitignore fix a small error in verify-codegen.sh (#451) 2019-10-16 02:39:15 -07:00
CHANGELOG.adoc Support multiple NAMEs on service delete (#492) 2019-11-12 03:02:23 -08:00
DEVELOPMENT.md docs: References golang 1.12 or later in docs (#355) 2019-08-09 08:35:05 -07:00
LICENSE Initial commit 2018-12-12 16:45:51 -08:00
OWNERS Adds Navid (@navidshaikh) to approvers list (#321) 2019-07-31 13:59:43 -07:00
README.md Adds zsh completion (#476) 2019-11-05 02:42:25 -08:00
go.mod Update vendor/knative.dev/test-infra (#503) 2019-11-15 09:54:02 -08:00
go.sum In waiting for ready, watch falls back to polling. (#491) 2019-11-19 22:48:08 -08:00

README.md

Knative Client

This section outlines best practices for the Knative developer experience. It is a reference for Knative CLI implementation, and a reference for Knative client libraries.

The goals of the Knative Client are to:

  1. Follow 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 experimentation and customization

Docs

Start with the user's guide to learn more. You can read about common use cases, get detailed documentation on each command, and learn how to extend the kn CLI. For more information, access the following links:

Shell auto completion:

Run the following command to enable shell auto-completion:

For Zsh:

$ source <(kn completion zsh)

For Bash:

$ source <(kn completion bash)

Use TAB to list available sub-commands or flags.

Developers

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

To build kn, see our Development guide.