ai/at
ai/at
1
0
This commit is contained in:
syui 2024-11-28 04:48:55 +09:00
parent 199a908ead
commit 1512a1452f
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

7
at.zsh
View File

@ -113,6 +113,10 @@ function at-refresh() {
unset t token refresh
}
function at-version() {
curl -sL ${host}/xrpc/_health |jq .
}
at-env
case $1 in
uri|u)
@ -133,6 +137,9 @@ case $1 in
refresh|r)
at-refresh
;;
version|v)
at-version
;;
*)
echo "${help[@]}"
echo "${host[@]}"