ait-agent — 完整參考
設定、檢視並管理可選的 Telegram、LINE、Discord 和 Slack 傳輸 worker。
適用對象: 開發者、整合維護者與維運
作用邊界#
用途: 設定、檢視並管理可選的 Telegram、LINE、Discord 和 Slack 傳輸 worker。
覆蓋: ait-agent 共給出 43 個公開 help surface。
這一頁原樣保留被準入的 1.1.1 可執行檔案輸出,由檢查碼繫結的發布二進位 生成,包含它給出的每一個引數、選項、預設值、可選值、衝突關係和必填要求。
完整命令樹#
ait-agent
ait-agent telegram
ait-agent telegram add
ait-agent telegram list
ait-agent telegram status
ait-agent telegram start
ait-agent telegram stop
ait-agent telegram restart
ait-agent telegram logs
ait-agent telegram remove
ait-agent telegram supervisor
ait-agent telegram supervisor status
ait-agent telegram supervisor start
ait-agent telegram supervisor run
ait-agent telegram supervisor stop
ait-agent telegram supervisor restart
ait-agent line
ait-agent line add
ait-agent line list
ait-agent line status
ait-agent line start
ait-agent line stop
ait-agent line restart
ait-agent line logs
ait-agent line remove
ait-agent discord
ait-agent discord add
ait-agent discord list
ait-agent discord status
ait-agent discord start
ait-agent discord stop
ait-agent discord restart
ait-agent discord logs
ait-agent discord remove
ait-agent slack
ait-agent slack add
ait-agent slack list
ait-agent slack status
ait-agent slack start
ait-agent slack stop
ait-agent slack restart
ait-agent slack logs
ait-agent slack remove原樣輸出的 help#
ait-agent#
Run optional ait external runtime workers.
Usage: ait-agent <COMMAND>
Commands:
telegram Run and configure Telegram agent workers.
line Run and configure LINE agent workers.
discord Run and configure Discord agent workers.
slack Run and configure Slack agent workers.
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version說明
執行可選的 ait 外部執行時 worker。
| 引數 / 選項 | 說明 |
|---|---|
telegram | 執行並設定 Telegram agent worker。 |
line | 執行並設定 LINE agent worker。 |
discord | 執行並設定 Discord agent worker。 |
slack | 執行並設定 Slack agent worker。 |
help | 列印本訊息或給定子命令的幫助 |
-h, --help | 列印幫助 |
-V, --version | 列印版本 |
ait-agent telegram#
Run and configure Telegram agent workers.
Usage: ait-agent telegram [OPTIONS] [COMMAND]
Commands:
add Add or update a named Telegram worker config.
list List named Telegram worker configs.
status Show named Telegram worker runtime status.
start Start a named Telegram worker in daemon mode.
stop Stop a named Telegram worker.
restart Stop and restart a named Telegram worker in daemon mode.
logs Read the last N lines from a named Telegram worker's log.
remove Remove a named Telegram worker config.
supervisor Supervise configured Telegram workers.
help Print this message or the help of the given subcommand(s)
Options:
--mode <MODE> [default: polling] [possible values: polling, webhook]
--worker <WORKER> [default: main]
-h, --help Print help說明
執行並設定 Telegram agent worker。
| 引數 / 選項 | 說明 |
|---|---|
add | 新增或更新一個命名的 Telegram worker 設定。 |
list | 列出命名的 Telegram worker 設定。 |
status | 顯示指定名稱 Telegram worker 的執行時狀態。 |
start | 以守護程序模式啟動一個指定名稱的 Telegram worker。 |
stop | 停止一個指定名稱的 Telegram worker。 |
restart | 以守護程序模式停止並重啟一個指定名稱的 Telegram worker。 |
logs | 讀取指定名稱 Telegram worker 日誌的最後 N 行。 |
remove | 刪除一個命名的 Telegram worker 設定。 |
supervisor | 監管已設定的 Telegram worker。 |
help | 列印本訊息或給定子命令的幫助 |
--mode <MODE> | [default: polling] [possible values: polling, webhook] |
--worker <WORKER> | [default: main] |
-h, --help | 列印幫助 |
ait-agent telegram add#
Add or update a named Telegram worker config.
Usage: ait-agent telegram add [OPTIONS] --token <TOKEN> <NAME>
Arguments:
<NAME>
Options:
--token <TOKEN>
--username <USERNAME>
--sync-state-path <SYNC_STATE_PATH>
--pid-file <PID_FILE>
--log-file <LOG_FILE>
--env-path <ENV_PATH>
--json
-h, --help Print help說明
新增或更新一個命名的 Telegram worker 設定。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent telegram list#
List named Telegram worker configs.
Usage: ait-agent telegram list [OPTIONS]
Options:
--json
-h, --help Print help說明
列出命名的 Telegram worker 設定。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent telegram status#
Show named Telegram worker runtime status.
Usage: ait-agent telegram status [OPTIONS] [NAME]
Arguments:
[NAME]
Options:
--json
-h, --help Print help說明
顯示指定名稱 Telegram worker 的執行時狀態。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent telegram start#
Start a named Telegram worker in daemon mode.
Usage: ait-agent telegram start [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
以守護程序模式啟動一個指定名稱的 Telegram worker。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent telegram stop#
Stop a named Telegram worker.
Usage: ait-agent telegram stop [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
停止一個指定名稱的 Telegram worker。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent telegram restart#
Stop and restart a named Telegram worker in daemon mode.
Usage: ait-agent telegram restart [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
以守護程序模式停止並重啟一個指定名稱的 Telegram worker。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent telegram logs#
Read the last N lines from a named Telegram worker's log.
Usage: ait-agent telegram logs [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--lines <LINES> [default: 100]
--json
-h, --help Print help說明
讀取指定名稱 Telegram worker 日誌的最後 N 行。
| 引數 / 選項 | 說明 |
|---|---|
--lines <LINES> | [default: 100] |
-h, --help | 列印幫助 |
ait-agent telegram remove#
Remove a named Telegram worker config.
Usage: ait-agent telegram remove [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
刪除一個命名的 Telegram worker 設定。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent telegram supervisor#
Supervise configured Telegram workers.
Usage: ait-agent telegram supervisor <COMMAND>
Commands:
status Show runtime status for all Telegram workers.
start Start all configured Telegram workers.
run Continuously start stopped Telegram workers at an interval.
stop Stop all running Telegram workers.
restart Restart all Telegram workers.
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help說明
監管已設定的 Telegram worker。
| 引數 / 選項 | 說明 |
|---|---|
status | 顯示所有 Telegram worker 的執行時狀態。 |
start | 啟動所有已設定的 Telegram worker。 |
run | 按固定間隔持續啟動已停止的 Telegram worker。 |
stop | 停止所有執行中的 Telegram worker。 |
restart | 重啟所有 Telegram worker。 |
help | 列印本訊息或給定子命令的幫助 |
-h, --help | 列印幫助 |
ait-agent telegram supervisor status#
Show runtime status for all Telegram workers.
Usage: ait-agent telegram supervisor status [OPTIONS]
Options:
--json
-h, --help Print help說明
顯示所有 Telegram worker 的執行時狀態。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent telegram supervisor start#
Start all configured Telegram workers.
Usage: ait-agent telegram supervisor start [OPTIONS]
Options:
--json
-h, --help Print help說明
啟動所有已設定的 Telegram worker。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent telegram supervisor run#
Continuously start stopped Telegram workers at an interval.
Usage: ait-agent telegram supervisor run [OPTIONS]
Options:
--interval-seconds <INTERVAL_SECONDS> [default: 30]
--once
--json
-h, --help Print help說明
按固定間隔持續啟動已停止的 Telegram worker。
| 引數 / 選項 | 說明 |
|---|---|
--interval-seconds <INTERVAL_SECONDS> | [default: 30] |
-h, --help | 列印幫助 |
ait-agent telegram supervisor stop#
Stop all running Telegram workers.
Usage: ait-agent telegram supervisor stop [OPTIONS]
Options:
--json
-h, --help Print help說明
停止所有執行中的 Telegram worker。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent telegram supervisor restart#
Restart all Telegram workers.
Usage: ait-agent telegram supervisor restart [OPTIONS]
Options:
--json
-h, --help Print help說明
重啟所有 Telegram worker。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent line#
Run and configure LINE agent workers.
Usage: ait-agent line <COMMAND>
Commands:
add Add or update a named LINE worker config.
list
status
start
stop
restart
logs
remove
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help說明
執行並設定 LINE agent worker。
| 引數 / 選項 | 說明 |
|---|---|
add | 新增或更新一個命名的 LINE worker 設定。 |
help | 列印本訊息或給定子命令的幫助 |
-h, --help | 列印幫助 |
ait-agent line add#
Add or update a named LINE worker config.
Usage: ait-agent line add [OPTIONS] --token <TOKEN> --secret <SECRET> <NAME>
Arguments:
<NAME>
Options:
--token <TOKEN>
--secret <SECRET>
--sync-state-path <SYNC_STATE_PATH>
--pid-file <PID_FILE>
--log-file <LOG_FILE>
--env-path <ENV_PATH>
--json
-h, --help Print help說明
新增或更新一個命名的 LINE worker 設定。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent line list#
Usage: ait-agent line list [OPTIONS]
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent line status#
Usage: ait-agent line status [OPTIONS] [NAME]
Arguments:
[NAME]
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent line start#
Usage: ait-agent line start [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent line stop#
Usage: ait-agent line stop [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent line restart#
Usage: ait-agent line restart [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent line logs#
Usage: ait-agent line logs [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--lines <LINES> [default: 100]
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
--lines <LINES> | [default: 100] |
-h, --help | 列印幫助 |
ait-agent line remove#
Usage: ait-agent line remove [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent discord#
Run and configure Discord agent workers.
Usage: ait-agent discord <COMMAND>
Commands:
add Add or update a named Discord worker config.
list
status
start
stop
restart
logs
remove
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help說明
執行並設定 Discord agent worker。
| 引數 / 選項 | 說明 |
|---|---|
add | 新增或更新一個命名的 Discord worker 設定。 |
help | 列印本訊息或給定子命令的幫助 |
-h, --help | 列印幫助 |
ait-agent discord add#
Add or update a named Discord worker config.
Usage: ait-agent discord add [OPTIONS] --application-id <APPLICATION_ID> --bot-token <BOT_TOKEN> <NAME>
Arguments:
<NAME>
Options:
--application-id <APPLICATION_ID>
--bot-token <BOT_TOKEN>
--sync-state-path <SYNC_STATE_PATH>
--pid-file <PID_FILE>
--log-file <LOG_FILE>
--env-path <ENV_PATH>
--json
-h, --help Print help說明
新增或更新一個命名的 Discord worker 設定。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent discord list#
Usage: ait-agent discord list [OPTIONS]
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent discord status#
Usage: ait-agent discord status [OPTIONS] [NAME]
Arguments:
[NAME]
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent discord start#
Usage: ait-agent discord start [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent discord stop#
Usage: ait-agent discord stop [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent discord restart#
Usage: ait-agent discord restart [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent discord logs#
Usage: ait-agent discord logs [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--lines <LINES> [default: 100]
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
--lines <LINES> | [default: 100] |
-h, --help | 列印幫助 |
ait-agent discord remove#
Usage: ait-agent discord remove [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent slack#
Run and configure Slack agent workers.
Usage: ait-agent slack <COMMAND>
Commands:
add Add or update a named Slack worker config.
list
status
start
stop
restart
logs
remove
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help說明
執行並設定 Slack agent worker。
| 引數 / 選項 | 說明 |
|---|---|
add | 新增或更新一個命名的 Slack worker 設定。 |
help | 列印本訊息或給定子命令的幫助 |
-h, --help | 列印幫助 |
ait-agent slack add#
Add or update a named Slack worker config.
Usage: ait-agent slack add [OPTIONS] --app-token <APP_TOKEN> <NAME>
Arguments:
<NAME>
Options:
--app-token <APP_TOKEN>
--sync-state-path <SYNC_STATE_PATH>
--pid-file <PID_FILE>
--log-file <LOG_FILE>
--env-path <ENV_PATH>
--json
-h, --help Print help說明
新增或更新一個命名的 Slack worker 設定。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent slack list#
Usage: ait-agent slack list [OPTIONS]
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent slack status#
Usage: ait-agent slack status [OPTIONS] [NAME]
Arguments:
[NAME]
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent slack start#
Usage: ait-agent slack start [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent slack stop#
Usage: ait-agent slack stop [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent slack restart#
Usage: ait-agent slack restart [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait-agent slack logs#
Usage: ait-agent slack logs [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--lines <LINES> [default: 100]
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
--lines <LINES> | [default: 100] |
-h, --help | 列印幫助 |
ait-agent slack remove#
Usage: ait-agent slack remove [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--json
-h, --help Print help說明
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
抓取來源#
- 產品版本:
1.1.1 - 二進位版本:
ait-agent 1.1.1 - 二進位 SHA-256:
d0eb40a320e320bbefefd4faa11bdcfa0bac3fe1bff4cc3b1752de26983dc6d6 - 抓取日期:
2026-09-02