feat: add post-create support for env key in app.json

Closes #4498
This commit is contained in:
Jose Diaz-Gonzalez committed 2026-04-26 22:43:32 -04:00
1 parent ad00918891
commit 34c336c668
14 files changed
+653 -4

No files matched your search

+5
View File
@@ -45,6 +45,11 @@ func TriggerConfigGetGlobal(key string) error {
return nil
}
// TriggerConfigSet sets config values for an app
func TriggerConfigSet(appName string, noRestart bool, pairs ...string) error {
return SubSet(appName, pairs, noRestart, false)
}
// TriggerConfigUnset unsets an app config value by key
func TriggerConfigUnset(appName string, key string, restart bool) error {
UnsetMany(appName, []string{key}, restart)