syui
7b03adda1f
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s
40 lines
445 B
Bash
Executable File
40 lines
445 B
Bash
Executable File
#!/bin/zsh
|
|
|
|
# https://www.docs.bsky.app/docs/get-started
|
|
|
|
case $OSTYPE in
|
|
darwin*)
|
|
alias date="/opt/homebrew/bin/gdate"
|
|
;;
|
|
esac
|
|
d=${0:a:h}
|
|
|
|
source $d/env.zsh
|
|
source $d/refresh.zsh
|
|
source $d/token.zsh
|
|
source $d/reply.zsh
|
|
source $d/notify.zsh
|
|
source $d/notify_cid.zsh
|
|
source $d/cron.zsh
|
|
|
|
case $1 in
|
|
refresh|r)
|
|
refresh
|
|
;;
|
|
token|t)
|
|
token
|
|
;;
|
|
reply|rep)
|
|
reply
|
|
;;
|
|
notify|n)
|
|
notify
|
|
;;
|
|
cron|c)
|
|
cron
|
|
;;
|
|
cid)
|
|
cid
|
|
;;
|
|
esac
|