mirror of https://github.com/knative/client.git
This version contains the following: 1. wraps the main root Kn command to support plugin 2. plugins are any executable in kn's config new pluginDir variable which defaults to $PATH 3. plugins must have name kn-* 4. 'kn plugin list' sub-command to list found kn plugins 5. skips any kn plugins found with name that match core commands, e.g., kn-service would be ignored 6. can execute any valid kn plugins found, e.g., `kn valid` where the plugin file `kn-valid` is in path specified in 2. 7. unit tests (using gotest.tools) And is missing: 1. integration tests 2. plugin install command 3. plugin repository command 4. plugin / Knative server version negotiation 5. anything else we agree on in plugin req doc I plan to create issues for the things missing so we don't end up with an even bigger PR. It's already big as is but is a good MVP as per plugins requirement doc. |
||
|---|---|---|
| .. | ||
| kn.md | ||
| kn_plugin.md | ||
| kn_plugin_list.md | ||
| kn_revision.md | ||
| kn_revision_delete.md | ||
| kn_revision_describe.md | ||
| kn_revision_list.md | ||
| kn_route.md | ||
| kn_route_describe.md | ||
| kn_route_list.md | ||
| kn_service.md | ||
| kn_service_create.md | ||
| kn_service_delete.md | ||
| kn_service_describe.md | ||
| kn_service_list.md | ||
| kn_service_update.md | ||
| kn_version.md | ||