2021-11-29 16:58:03 -05:00
|
|
|
:_content-type: ASSEMBLY
|
2019-03-18 10:23:14 -04:00
|
|
|
[id="cli-extend-plugins"]
|
2023-01-16 16:03:42 -05:00
|
|
|
= Extending the OpenShift CLI with plugins
|
2022-02-16 11:35:56 -05:00
|
|
|
include::_attributes/common-attributes.adoc[]
|
2019-02-22 08:49:56 -05:00
|
|
|
:context: cli-extend-plugins
|
|
|
|
|
|
|
|
|
|
toc::[]
|
|
|
|
|
|
2023-01-16 16:03:42 -05:00
|
|
|
You can write and install plugins to build on the default `oc` commands,
|
2023-06-21 11:11:14 -05:00
|
|
|
allowing you to perform new and more complex tasks with the
|
|
|
|
|
ifndef::openshift-dedicated,openshift-rosa[]
|
|
|
|
|
{product-title}
|
|
|
|
|
endif::openshift-dedicated,openshift-rosa[]
|
|
|
|
|
ifdef::openshift-rosa,openshift-dedicated[]
|
|
|
|
|
OpenShift
|
|
|
|
|
endif::openshift-rosa,openshift-dedicated[]
|
|
|
|
|
CLI.
|
2019-02-22 08:49:56 -05:00
|
|
|
|
2023-01-16 16:03:42 -05:00
|
|
|
// Writing CLI plugins
|
2019-02-22 08:49:56 -05:00
|
|
|
include::modules/cli-extending-plugins-writing.adoc[leveloffset=+1]
|
|
|
|
|
|
2023-01-16 16:03:42 -05:00
|
|
|
// Installing and using CLI plugins
|
2019-02-22 08:49:56 -05:00
|
|
|
include::modules/cli-extending-plugins-installing.adoc[leveloffset=+1]
|