clemmy/clemmy.sh

20 lines
343 B
Bash
Executable File

#!/bin/sh
imps=$(dirname $(realpath $0))
source $imps/api.sh
source $imps/commands/commands.sh
source $imps/pretty.sh
source $imps/creds.sh
source $imps/utils.sh
while getopts "a:hi:v" o;do case "${o}" in
a) select_account $OPTARG;;
i) INSTANCE=$OPTARG;;
h) echo $actions; exit;;
v) echo 0.1.7; exit;;
esac done
shift $((OPTIND-1))
$*