switch accounts to struct tag based env config

This commit is contained in:
Willy Kloucek
2022-01-03 07:49:23 +01:00
parent f7b949a445
commit 6bf467127b
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
},