-
Notifications
You must be signed in to change notification settings - Fork 274
[WIP] Kn plugins implementation #177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| ## kn plugin | ||
|
|
||
| Plugin command group | ||
|
|
||
| ### Synopsis | ||
|
|
||
| Provides utilities for interacting with kn plugins. | ||
|
|
||
| Plugins provide extended functionality that is not part of the major command-line distribution. | ||
| Please refer to the documentation and examples for more information about how write your own plugins. | ||
|
|
||
| ``` | ||
| kn plugin [flags] | ||
| ``` | ||
|
|
||
| ### Options | ||
|
|
||
| ``` | ||
| -h, --help help for plugin | ||
| ``` | ||
|
|
||
| ### Options inherited from parent commands | ||
|
|
||
| ``` | ||
| --config string config file (default is $HOME/.kn/config.yaml) | ||
| --kubeconfig string kubectl config file (default is $HOME/.kube/config) | ||
| --plugin-dir string kn plugin directory (default is value in kn config or $PATH) | ||
| ``` | ||
|
|
||
| ### SEE ALSO | ||
|
|
||
| * [kn](kn.md) - Knative client | ||
| * [kn plugin list](kn_plugin_list.md) - List all visible plugin executables on a user's PATH | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| ## kn plugin list | ||
|
|
||
| List all visible plugin executables on a user's PATH | ||
|
|
||
| ### Synopsis | ||
|
|
||
| List all visible plugin executables on a user's PATH. | ||
|
|
||
| Available plugin files are those that are: | ||
| - executable | ||
| - anywhere on the user's PATH | ||
| - begin with "kn- | ||
|
|
||
| ``` | ||
| kn plugin list [flags] | ||
| ``` | ||
|
|
||
| ### Options | ||
|
|
||
| ``` | ||
| -h, --help help for list | ||
| --name-only If true, display only the binary name of each plugin, rather than its full path | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this should be reversed. In most cases I don't think people will care where the exe lives and when they do care it's probably because they're debugging to see why things are not acting correctly.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, up for debate. Especially if we decide to have a fix location. |
||
| ``` | ||
|
|
||
| ### Options inherited from parent commands | ||
|
|
||
| ``` | ||
| --config string config file (default is $HOME/.kn/config.yaml) | ||
| --kubeconfig string kubectl config file (default is $HOME/.kube/config) | ||
| --plugin-dir string kn plugin directory (default is value in kn config or $PATH) | ||
| ``` | ||
|
|
||
| ### SEE ALSO | ||
|
|
||
| * [kn plugin](kn_plugin.md) - Plugin command group | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.