feat(config): Add --first-run flag

Add flag to run the first run wizard again, even if config already
exists.
This commit is contained in:
Andreas Mieke 2023-11-02 11:47:23 +01:00
parent b7a47519b5
commit d09c1d60f9
2 changed files with 13 additions and 5 deletions

View file

@ -51,7 +51,7 @@ fn main() {
info!("Loading config from \"{}\"", config_path.to_str().unwrap());
let cfg = config::load(&config_path).unwrap();
let cfg = config::load(&config_path, args.first_run).unwrap();
info!("Found config: {:#?}", cfg);