Merge pull request #7 from containscafeine/add-plugin

add plugin.yaml to be used as oc plugin
This commit is contained in:
Tomas Kral
2018-01-30 17:29:42 +01:00
committed by GitHub
2 changed files with 9 additions and 0 deletions

View File

@@ -1,2 +1,7 @@
# ocdev
OpenShift Command line for Developers
### How to use ocdev as an oc plugin?
- make sure that ocdev binary exists in your $PATH
- copy the [plugin.yaml](./plugin.yaml) file to ~/.kube/plugins/ocdev/
- use the plugin as `oc plugin dev`

4
plugin.yaml Normal file
View File

@@ -0,0 +1,4 @@
name: "dev"
shortDesc: "ocdev plugin"
longDesc: "ocdev plugin to use ocdev as a plugin in OpenShift"
command: "ocdev"