-
Notifications
You must be signed in to change notification settings - Fork 263
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
What other kn config options makes sense to load and save? #259
Comments
|
We should probably start suggesting names and defaults too. I am changing how I save config and only do so when command succeeds. So the following in [...]
func init() {
core.InitializeConfig()
}
func main() {
err := core.NewDefaultKnCommand().Execute()
if err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
cleanup()
}
func cleanup() {
viper.WriteConfig()
} Will be in #249. So intermediary config won't be saved until success. Let me know if that's OK with your thinking of future usages. |
* use a separate dashboard to avoid poluting the master dashboard * releases are not published anywhere Fixes knative/serving#2483.
This issue is stale because it has been open for 90 days with no |
Closing this as I think config is all done and setup now |
In what area(s)?
Configuration / startup.
Classifications:
/kind usage
Ask your question here:
With #249 we will have one option in the kn config
pluginDir
that allows the end user to load and save their chosen directory for plugins.Since we added config to support this, the question is, are there other config options we should be saving and loading. For instance:
Or maybe nothing. Just want to start a discussion on the topic since that might dictate how #249 loads and saves the config (in terms of when and how eager).
The text was updated successfully, but these errors were encountered: