You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's entirely up to you how you want to persist settings. The Settable has as an attribute onchange_cb that allows you to provide a callback function when that setting is changed.
On start-up, after the cmd2.Cmd constructor is complete, you can load the values from whatever persistence method you choose and load the values in the settables (cmd2.Cmd.settables)
I have customized some Settables and want to keep the values of these Settables on next startup.
How should I save these Settables?
Thanks.
The text was updated successfully, but these errors were encountered: