feat: add pmg config get/set/edit CLI commands (#262)

This commit is contained in:
Sahil Bansal
2026-05-16 09:55:54 +05:30
committed by GitHub
parent 4de9f84c0c
commit c78287e5a0
12 changed files with 781 additions and 24 deletions
+2
View File
@@ -12,6 +12,7 @@ import (
packagev1 "buf.build/gen/go/safedep/api/protocolbuffers/go/safedep/messages/package/v1"
"github.com/safedep/dry/log"
"github.com/safedep/dry/utils"
"github.com/spf13/viper"
)
const (
@@ -178,6 +179,7 @@ type RuntimeConfig struct {
configDir string
configFilePath string
eventLogDir string
viper *viper.Viper
}
// CloudSyncDBPath returns the path to the cloud sync WAL database.