mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 15:46:57 +01:00
48 lines
752 B
Plaintext
48 lines
752 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * cli_reference/developer-cli-commands.adoc
|
|
|
|
[id='cli-settings-commands-{context}']
|
|
= Settings CLI commands
|
|
|
|
== completion
|
|
|
|
Output shell completion code for the specified shell.
|
|
|
|
.Example: Display completion code for bash
|
|
----
|
|
$ oc completion bash
|
|
----
|
|
|
|
== config
|
|
|
|
Manage the client configuration files.
|
|
|
|
.Example: Display the current configuration
|
|
----
|
|
$ oc config view
|
|
----
|
|
|
|
.Example: Switch to a different context
|
|
----
|
|
$ oc config use-context test-context
|
|
----
|
|
|
|
== logout
|
|
|
|
Log out of the current session.
|
|
|
|
.Example: End the current session
|
|
----
|
|
$ oc logout
|
|
----
|
|
|
|
== whoami
|
|
|
|
Display information about the current session.
|
|
|
|
.Example: Display the currently authenticated user
|
|
----
|
|
$ oc whoami
|
|
----
|