fix
This commit is contained in:
parent
0b185d0539
commit
dbe10d4f94
@ -45,6 +45,10 @@ $ ai r -s syu.is
|
||||
$ ai n
|
||||
```
|
||||
|
||||
```
|
||||
$ ai n | jq .
|
||||
```
|
||||
|
||||
### bot
|
||||
|
||||
```
|
||||
|
@ -36,7 +36,7 @@ fn main() {
|
||||
.command(
|
||||
Command::new("token")
|
||||
.alias("t")
|
||||
.description("handle\n\t\t\t$ ai t syui.bsky.social -p password")
|
||||
.description("handle\n\t\t\t$ ai t yui.syui.ai -p password\n\t\t\t$ ai t yui.syui.ai -p password -s bsky.social")
|
||||
.action(c_token)
|
||||
.flag(
|
||||
Flag::new("password", FlagType::String)
|
||||
@ -52,6 +52,7 @@ fn main() {
|
||||
.command(
|
||||
Command::new("refresh")
|
||||
.alias("r")
|
||||
.description("refresh\n\t\t\t$ ai r\n\t\t\t$ ai r -s bsky.social")
|
||||
.action(c_refresh)
|
||||
.flag(
|
||||
Flag::new("server", FlagType::String)
|
||||
@ -62,11 +63,13 @@ fn main() {
|
||||
.command(
|
||||
Command::new("notify")
|
||||
.alias("n")
|
||||
.description("notify\n\t\t\t$ ai n")
|
||||
.action(c_notify),
|
||||
)
|
||||
.command(
|
||||
Command::new("bot")
|
||||
.alias("b")
|
||||
.description("bot\n\t\t\t$ ai b\n\t\t\t$ ai b -s bsky.social")
|
||||
.action(c_bot)
|
||||
.flag(
|
||||
Flag::new("server", FlagType::String)
|
||||
|
Loading…
Reference in New Issue
Block a user