switch accounts to struct tag based env config

This commit is contained in:
Willy Kloucek
2022-01-07 15:39:01 +00:00
committed by Jörn Friedrich Dreyer
parent ebfe8f069c
commit d2befd9257
9 changed files with 99 additions and 244 deletions
+3 -3
View File
@@ -29,9 +29,9 @@ func AccountsCommand(cfg *config.Config) *cli.Command {
return err
}
if cfg.Commons != nil {
cfg.Accounts.Commons = cfg.Commons
}
//if cfg.Commons != nil {
// cfg.Accounts.Commons = cfg.Commons
//}
return nil
},