kas-container: Add support for checkout and for-all-repos

Allow invoking those two new sub-commands also via the container
interface.

Closes #51
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka
2021-05-20 15:57:22 +02:00
parent 0e470dc644
commit 46eabc7be3
2 changed files with 11 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ fi
if [ -n "$1" ]; then
case "$1" in
build|shell|-*)
build|checkout|for-all-repos|shell|-*)
exec $GOSU kas "$@"
;;
*)