Knative developer experience, docs, reference Knative CLI implementation
Go to file
Naomi Seyfer 0ff537ad98 By default, set `Image` to the image of the prev. revision by digest (#373)
* Option to freeze revision to digest

* Tests pass. Checkpoint.

* Tests for env now check pinning to digest

* Bool flag using convention. Tweak usage.

* Describing the image carefully using the annotation and digest

* lint

* Test matrix of locking to digest behaviors

* Expose both flags, and rewrite help text again

* Unit tests.

* Removed unsed method

* Add tests for getting base revision

* Make tests actually test stuff better

* Make tests actually test stuff better

* A mergeout killed a returning of error. Restore it

* Help text again
2019-08-27 11:42:40 -07:00
.github Adds Github issue and pull request templates (#242) 2019-07-10 00:36:03 -07: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 By default, set `Image` to the image of the prev. revision by digest (#373) 2019-08-27 11:42:40 -07:00
hack Ensures kn cross platform build works in presubmit tests (#385) 2019-08-26 10:59:17 -07:00
pkg By default, set `Image` to the image of the prev. revision by digest (#373) 2019-08-27 11:42:40 -07:00
test By default, set `Image` to the image of the prev. revision by digest (#373) 2019-08-27 11:42:40 -07:00
vendor Retain the request body when logging HTTP. (#378) 2019-08-21 12:23:33 -07:00
.gitignore chore: Update dependencies (#68) 2019-04-30 09:48:33 -07:00
CHANGELOG.adoc feature(service list): Print NAMESPACE column as the first column when --all-namespaces is specified (#366) 2019-08-21 23:57:33 -07: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 Small grammatical correction for README.md (#237) 2019-07-07 23:41:33 -07:00
go.mod Ensures kn cross platform build works in presubmit tests (#385) 2019-08-26 10:59:17 -07:00
go.sum Ensures kn cross platform build works in presubmit tests (#385) 2019-08-26 10:59:17 -07:00

README.md

Knative Client

This section outlines best practices for the Knative developer experience, 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:

Bash auto completion:

Run the following command 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 would like to contribute, please see CONTRIBUTING for more information.

To build kn, see our Development guide.