mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
48 lines
766 B
Plaintext
48 lines
766 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * cli_reference/openshift_cli/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
|
|
----
|