Files
oficial/cli/entrypoint
2025-07-14 14:29:41 -04:00

20 lines
265 B
Bash

#!/bin/bash
if [[ $# -gt 0 ]]
then
if [[ "$1" = "bash" || "$1" = "sh" || "$1" = "zsh" || "$1" = "/bin/bash" ]]
then
CMD=$1
shift
if [[ $# -gt 0 ]]
then
$CMD -c "$@"
exit 0
fi
$CMD
exit 0
fi
fi
/code/bin/incoviba "$@"