// 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
----
