fix
This commit is contained in:
parent
199a908ead
commit
1512a1452f
7
at.zsh
7
at.zsh
@ -113,6 +113,10 @@ function at-refresh() {
|
|||||||
unset t token refresh
|
unset t token refresh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function at-version() {
|
||||||
|
curl -sL ${host}/xrpc/_health |jq .
|
||||||
|
}
|
||||||
|
|
||||||
at-env
|
at-env
|
||||||
case $1 in
|
case $1 in
|
||||||
uri|u)
|
uri|u)
|
||||||
@ -133,6 +137,9 @@ case $1 in
|
|||||||
refresh|r)
|
refresh|r)
|
||||||
at-refresh
|
at-refresh
|
||||||
;;
|
;;
|
||||||
|
version|v)
|
||||||
|
at-version
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "${help[@]}"
|
echo "${help[@]}"
|
||||||
echo "${host[@]}"
|
echo "${host[@]}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user