-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
odo preference - cleanup #5535
Comments
We have been using
|
@dharmit, taking your suggestion into account, the commands will look like the following: $ odo preference set timeout 4m
? timeout is already set. Do you want to override it in the config Yes
Global preference was successfully updated odo preference view $ odo preference view
PARAMETER CURRENT_VALUE
UpdateNotification false
Timeout 4m0s
PushTimeout
RegistryCacheTime
Ephemeral
ConsentTelemetry true odo preference --help $ odo preference --help
Modifies odo specific configuration settings within the global preference file.
Available Global Parameters:
...
...
Timeout - Timeout (in Duration) for cluster server connection check (Default: 1s)
...
...
...
Examples:
...
...
# All available preference values you can set
...
odo preference set Timeout 1s
...
...
Is this what you were going for? cc: @kadel |
@valaparthvi yeah, that looks more like what I had in mind. 👍🏾 |
@kadel What plans do you have for |
From the cabal discussion:
|
@valaparthvi IMO, we should add these to the issue's acceptance criteria. |
there should be the following set of subcommands for
odo preference
commandodo preference set
- sets value for single value item (UpdateNotification
,Timeout
,PushTimeout
,RegistryCacheTime
,Ephemeral
,ConsentTelemetry
) (Preference cleanup (1/n) #5822 )odo preference unset
- unsets value (restores it to default) for single value item (UpdateNotification
,Timeout
,PushTimeout
,RegistryCacheTime
,Ephemeral
,ConsentTelemetry
) (Preference cleanup (1/n) #5822 )odo preference add
- adds value to array items (registry
) (Add preference add and remove commands #5873 )odo preference remove
- removes value from array items (registry
) (Add preference add and remove commands #5873 )odo preference view
- view all preferences, and moveregistry list
toview
(Update preference view to show list of devfile registries #5850)examples
The text was updated successfully, but these errors were encountered: