fix readme
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
This commit is contained in:
18
README.md
18
README.md
@@ -7,7 +7,7 @@
|
|||||||
- host : [yui.syui.ai](https://bsky.app/profile/yui.syui.ai), [ai.syu.is](https://web.syu.is/profile/ai.syu.is)
|
- host : [yui.syui.ai](https://bsky.app/profile/yui.syui.ai), [ai.syu.is](https://web.syu.is/profile/ai.syu.is)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ ai
|
$ aibot
|
||||||
```
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -18,47 +18,47 @@ $ docker run -it syui/aios ai
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cargo build
|
$ cargo build
|
||||||
$ ./target/debug/ai ai
|
$ ./target/debug/aibot ai
|
||||||
```
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ ai ai -t avatar
|
$ aibot ai -t avatar
|
||||||
```
|
```
|
||||||
|
|
||||||
### login
|
### login
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# ai login $handle -p $password
|
# ai login $handle -p $password
|
||||||
$ ai l yui.syui.ai -p password
|
$ aibot l yui.syui.ai -p password
|
||||||
|
|
||||||
$ cat ~/.config/ai/token.toml
|
$ cat ~/.config/ai/token.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# ai l $handle -p $password -s $server
|
# ai l $handle -p $password -s $server
|
||||||
$ ai l ai.syu.is -p password -s syu.is
|
$ aibot l ai.syu.is -p password -s syu.is
|
||||||
```
|
```
|
||||||
|
|
||||||
### refresh
|
### refresh
|
||||||
|
|
||||||
```
|
```
|
||||||
$ ai r
|
$ aibot r
|
||||||
```
|
```
|
||||||
|
|
||||||
### notify
|
### notify
|
||||||
|
|
||||||
```
|
```
|
||||||
$ ai n
|
$ aibot n
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
$ ai n | jq .
|
$ aibot n | jq .
|
||||||
```
|
```
|
||||||
|
|
||||||
### bot
|
### bot
|
||||||
|
|
||||||
```
|
```
|
||||||
$ ai bot
|
$ aibot bot
|
||||||
```
|
```
|
||||||
|
|
||||||
|command|sub|type|link|auth|
|
|command|sub|type|link|auth|
|
||||||
|
|||||||
Reference in New Issue
Block a user