clemmy/clemmy.sh

20 lines
343 B
Bash
Raw Normal View History

2023-01-17 01:07:40 +11:00
#!/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
2023-01-17 01:07:40 +11:00
2023-06-02 10:58:31 +10:00
while getopts "a:hi:v" o;do case "${o}" in
a) select_account $OPTARG;;
2023-01-17 03:30:28 +11:00
i) INSTANCE=$OPTARG;;
2023-01-17 01:07:40 +11:00
h) echo $actions; exit;;
v) echo 0.1.7; exit;;
2023-01-17 01:07:40 +11:00
esac done
shift $((OPTIND-1))
$*