33 lines
635 B
Bash
33 lines
635 B
Bash
#!/bin/sh
|
|
# $YakumoLabs$
|
|
# (o)rin -- My personal e-mail assistant from the former Hell of Blazing Fires
|
|
#
|
|
# Source code:
|
|
# - https://svn.yakumo.dev/repo/rin (primary)
|
|
# - https://git.yakumo.dev/yakumo.izuru/rin (mirror)
|
|
case "$1" in
|
|
check)
|
|
%%PREFIX%%/lib/orin/rin-check "$2"
|
|
;;
|
|
clean)
|
|
%%PREFIX%%/lib/orin/rin-clean "$2"
|
|
;;
|
|
fetch)
|
|
%%PREFIX%%/lib/orin/rin-fetch "$2"
|
|
;;
|
|
list)
|
|
%%PREFIX%%/lib/orin/rin-list "$2"
|
|
;;
|
|
profile)
|
|
%%PREFIX%%/lib/orin/rin-profile "$2" "$3"
|
|
;;
|
|
*)
|
|
cat <<EOF
|
|
usage: $0 [check|clean|fetch|list|profile] account
|
|
note: some subcommands have additional options
|
|
EOF
|
|
exit
|
|
;;
|
|
esac
|
|
|