More improvements to the app CLI

This commit is contained in:
AaronDewes 2022-03-19 15:29:51 +00:00
parent 944e390e40
commit 2429b77e63

View File

@ -13,6 +13,14 @@ if [ "$1" == "stop" ] || [ "$1" == "start" ] || [ "$1" == "install" ] || [ "$1"
for app in "${@:2}"; do for app in "${@:2}"; do
"${NODE_ROOT}/app/app-manager.py" "$1" "$app" "${NODE_ROOT}/app/app-manager.py" "$1" "$app"
done 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 else
"${NODE_ROOT}/app/app-manager.py" "$@" "${NODE_ROOT}/app/app-manager.py" "$@"
fi fi