allow for easy reset of config files with a single command (#6041)

* allow for easy config reset with a single command

* add slightly better help, rebase

* add option to make no backups, make all backups unique through including UNIX Epoch Time in the filename

* time is now formatted in rfc3339

* time is now formatted in a window-friendly format
This commit is contained in:
pwygab
2022-07-13 23:03:42 +08:00
committed by GitHub
parent 47c1f475bf
commit 89b374cb16
4 changed files with 116 additions and 0 deletions

View File

@ -343,6 +343,7 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
WithEnv,
ConfigNu,
ConfigEnv,
ConfigReset,
ConfigMeta,
};