Knative developer experience, docs, reference Knative CLI implementation
Go to file
Naomi Seyfer 17df8c0dbb Bool flags in the paired `--foo` and `--no-foo` format (#346)
* Allow boolean flags in the matched `--foo` and `--no-foo` format.

* test for it

* Godoc for new functions

* Copyright date update

* Disallow user from setting either flag to false explicitly. Moar tests, for this & other cases

* Apply suggestions from code review

Co-Authored-By: Roland Huß <rhuss@redhat.com>

* Fixup
2019-08-14 11:40:08 -07:00
.github Adds Github issue and pull request templates (#242) 2019-07-10 00:36:03 -07:00
cmd/kn Implements Kn plugins re-using some code from kubectl plugins. (#249) 2019-07-26 13:29:48 -07:00
config Add the support to build container image for kn (#152) 2019-06-06 17:30:40 -07:00
conventions Boolean flags by presence (#283) 2019-07-26 17:15:50 -07:00
docs Service and Revision labels (#342) 2019-08-13 17:07:06 -07:00
hack Only test in watch mode if passed test flag (#343) 2019-08-07 01:26:55 -07:00
pkg Bool flags in the paired `--foo` and `--no-foo` format (#346) 2019-08-14 11:40:08 -07:00
test fix(test): Give the namespace some time setup (#348) 2019-08-08 12:10:57 -07:00
vendor feature(service describe): Output of service details (#252) 2019-08-08 08:23:56 -07:00
.gitignore chore: Update dependencies (#68) 2019-04-30 09:48:33 -07:00
CHANGELOG.adoc list services sorted by alphabetical order (#330) 2019-08-09 01:00:04 -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 Wrap flag usage to terminal size (#351) 2019-08-10 01:47:05 -07:00
go.sum feature(service describe): Output of service details (#252) 2019-08-08 08:23:56 -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.