mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
:_mod-docs-content-type: REFERENCE
|
|
[id="odo-flags_{context}"]
|
|
= Common flags
|
|
|
|
The following flags are available with most `odo` commands:
|
|
|
|
.odo flags
|
|
|
|
[width="100%",cols="30%,78%",options="header",]
|
|
|===
|
|
|Command |Description
|
|
|
|
| `--context`
|
|
| Set the context directory where the component is defined.
|
|
|
|
| `--project`
|
|
| Set the project for the component. Defaults to the project defined in the local configuration. If none is available, then current project on the cluster.
|
|
|
|
|
|
| `--app`
|
|
| Set the application of the component. Defaults to the application defined in the local configuration. If none is available, then _app_.
|
|
|
|
|
|
| `--kubeconfig`
|
|
| Set the path to the `kubeconfig` value if not using the default configuration.
|
|
|
|
|
|
| `--show-log`
|
|
| Use this flag to see the logs.
|
|
|
|
| `-f`, `--force`
|
|
| Use this flag to tell the command not to prompt the user for confirmation.
|
|
|
|
| `-v`, `--v`
|
|
| Set the verbosity level. See link:https://github.com/redhat-developer/odo/wiki/Logging-in-odo[Logging in odo] for more information.
|
|
|
|
| `-h`, `--help`
|
|
| Output the help for a command.
|
|
|
|
|===
|
|
|
|
[NOTE]
|
|
====
|
|
Some flags might not be available for some commands. Run the command with the `--help` flag to get a list of all the available flags.
|
|
====
|