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

Closes #4498
This commit is contained in:
Jose Diaz-Gonzalez
2026-01-07 03:21:04 -05:00
parent ad00918891
commit 34c336c668
14 changed files with 653 additions and 4 deletions

View File

@@ -65,3 +65,14 @@ config_bundle() {
declare desc="export tar bundle of config"
config_sub bundle "$@"
}
fn-config-set() {
declare desc="set config values via trigger (supports --no-restart)"
declare APP="$1" NO_RESTART="$2"
shift 2
if [[ "$NO_RESTART" == "true" ]]; then
plugn trigger config-set --no-restart "$APP" "$@"
else
plugn trigger config-set "$APP" "$@"
fi
}