All apps/OpenShift Cluster Manager CLI

OpenShift Cluster Manager CLI

ocm

CLI for the Red Hat OpenShift Cluster Manager

Runs as ocm|macOS, Linux|github.com

Command form

ai-draft · 2 tasks · 5 fields

Log in and query the OCM API. Tokens are not offered as a field. Other API verbs and cluster commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui ocm

ocm login

Log in
Log inExample values, fixed in this page — nothing here reaches a terminal
Basic
API URL or alias
string
Skip TLS verification
--insecure
TasksEach one presets the form for one job
Log in
urlinsecure
ParametersOnly these flags are editable in the form
API URL or alias
string
--urlproductionstaging
Skip TLS verification
boolean
--insecure

ocm get

GET an API path
GET an API pathExample values, fixed in this page — nothing here reaches a terminal
Basic
API path*
/api/clusters_mgmt/v1/clustersstring
Query parameter (name=value)
string
TasksEach one presets the form for one job
List clusters
pathparameter
ParametersOnly these flags are editable in the form
API path
For example /api/clusters_mgmt/v1/clusters.
string · positional 0
Query parameter (name=value)
For example search=name like 'my%'.
string · repeatable
--parameter
Use opaque token
boolean
--opaque-token
SourcesEvery flag above is checked against these
readme
$ ocm login --token=eyJ... $ ocm login \ --token=eyJ... \ --url=https://localhost:8000 \ --insecure $ ocm login --url=production --token=... $ ocm get /api/clusters_mgmt/v1/clusters --parameter search="name like 'my%'" The `--parameter` option is used to specify query parameters. $ ocm post /api/clusters_mgmt/v1/clusters --body=mycluster.json $ ocm --opaque-…
helpmain

github.com

readme
$ ocm login --token=eyJ... $ ocm login \ --token=eyJ... \ --url=https://localhost:8000 \ --insecure $ ocm login --url=production --token=... $ ocm get /api/clusters_mgmt/v1/clusters --parameter search="name like 'my%'" The `--parameter` option is used to specify query parameters. $ ocm post /api/clusters_mgmt/v1/clusters --body=mycluster.json $ ocm --opaque-…
helpmain

github.com

Before it fills your prompt, Otty checks the installed ocm against its version. A form that does not match your version is not offered.