Open
Description
$odo preference -h
Modifies odo specific configuration settings within the global preference file.
Available Parameters:
Experimental - Set this value to true to expose features in development/experimental mode
NamePrefix - Use this value to set a default name prefix (Default: current directory name)
PushTarget - Set this value to 'kube' or 'docker' to tell odo where to push applications to. (Default: kube)
PushTimeout - PushTimeout (in seconds) for waiting for a Pod to come up (Default: 240)
Timeout - Timeout (in seconds) for OpenShift server connection check (Default: 1)
UpdateNotification - Flag to control if an update notification is shown or not (Default: true)
Usage:
odo preference [flags]
odo preference [command]
Examples:
# For viewing the current local preference
odo preference view
# For viewing the current global preference
odo preference view
# Set a preference value in the global preference
odo preference set UpdateNotification false
odo preference set NamePrefix "app"
odo preference set Timeout 20
odo preference set PushTimeout 30
odo preference set Experimental true
odo preference set PushTarget docker
# Unset a preference value in the global preference
odo preference unset UpdateNotification
odo preference unset NamePrefix
odo preference unset Timeout
odo preference unset PushTimeout
odo preference unset Experimental
odo preference unset PushTarget
Available Commands:
set Set a value in odo config file
unset Unset a value in odo preference file
view View current preference values
odo should also provide the way to get information about available preferences and preference types.
Upstream issue redhat-developer/odo#3094.
First implementation can be based on static list based on what -h command prints out.