mirror of https://github.com/knative/client.git
```bash ➜ client git:(master) ✗ ./kn service update summary-fn --untag sync1 Using kn config file: /Users/maximilien/.kn/config.yaml Updating Service 'summary-fn' in namespace 'default': 0.089s Ready to serve. Service 'summary-fn' with latest revision 'summary-fn-nxqwb-41' (unchanged) is available at URL: http://summary-fn-default.kndemo-267179.sjc03.containers.appdomain.cloud ➜ client git:(master) ✗ ./kn service update summary-fn --image docker.io/drmax/summary-fn:latest Using kn config file: /Users/maximilien/.kn/config.yaml Updating Service 'summary-fn' in namespace 'default': 0.091s The Configuration is still working to reflect the latest desired specification. 6.317s Ready to serve. Service 'summary-fn' updated to latest revision 'summary-fn-jfjcy-42' is available at URL: http://summary-fn-default.kndemo-267179.sjc03.containers.appdomain.cloud ``` |
||
|---|---|---|
| .github | ||
| cmd/kn | ||
| config | ||
| conventions | ||
| docs | ||
| hack | ||
| pkg | ||
| test | ||
| vendor | ||
| .gitignore | ||
| CHANGELOG.adoc | ||
| DEVELOPMENT.md | ||
| LICENSE | ||
| OWNERS | ||
| README.md | ||
| go.mod | ||
| go.sum | ||
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:
- Follow the Knative serving and eventing APIs
- Be scriptable to allow users to create different Knative workflows
- Expose useful Golang packages to allow integration into other programs or CLIs or plugins
- Use consistent verbs, nouns, and flags for various commands
- 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.