feat: implement config:import command

Closes #6846
This commit is contained in:
Jose Diaz-Gonzalez
2025-11-08 01:02:19 -05:00
parent 48fd2b3862
commit e134c314ea
13 changed files with 477 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ func Disable(appName string) error {
"DOKKU_DISABLE_PROXY": "1",
}
if err := config.SetMany(appName, entries, false); err != nil {
if err := config.SetMany(appName, entries, false, false); err != nil {
return err
}

View File

@@ -106,5 +106,5 @@ func CommandSet(appName string, proxyType string) error {
entries := map[string]string{
key: proxyType,
}
return config.SetMany(appName, entries, false)
return config.SetMany(appName, entries, false, false)
}