update config handling and add support for removing config

This commit is contained in:
Sahilb315
2025-12-17 15:41:04 +05:30
parent 3a1afccb9e
commit 0d5bdefe04
6 changed files with 139 additions and 22 deletions
+1
View File
@@ -63,6 +63,7 @@ func main() {
}
globalConfig = cfg
fmt.Printf("Config: %+v", globalConfig)
log.InitZapLogger("pmg", "cli")
cmd.SetContext(globalConfig.Inject(cmd.Context()))
},