From 2429b77e63ec33339ffb830bc07b89b3c60f2bef Mon Sep 17 00:00:00 2001 From: AaronDewes Date: Sat, 19 Mar 2022 15:29:51 +0000 Subject: [PATCH] More improvements to the app CLI --- scripts/app | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/app b/scripts/app index 37599d0..fdbe27f 100755 --- a/scripts/app +++ b/scripts/app @@ -13,6 +13,14 @@ if [ "$1" == "stop" ] || [ "$1" == "start" ] || [ "$1" == "install" ] || [ "$1" for app in "${@:2}"; do "${NODE_ROOT}/app/app-manager.py" "$1" "$app" done +elif [ "$1" == "update" ]; then + for app in "${@:2}"; do + "${NODE_ROOT}/app/app-manager.py" --invoked-by-configure update "$app" + done + "${NODE_ROOT}/app/app-manager.py" generate + for app in "${@:2}"; do + "${NODE_ROOT}/app/app-manager.py" start "$app" + done else "${NODE_ROOT}/app/app-manager.py" "$@" fi