forked from michael.heier/citadel-core
More improvements to the app CLI
This commit is contained in:
parent
944e390e40
commit
2429b77e63
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user