1.1.1
ait remote — 完整參考
註冊並列出遠端權威,或從一個確切的遠端 Repository 權威重建本地 Line head。
適用對象: Repository 所有者與恢復維運
作用邊界#
用途: 註冊並列出遠端權威,或從一個確切的遠端 Repository 權威重建本地 Line head。
影響類別: 註冊和真正執行的恢復會改動狀態;不帶 apply 標誌的恢復只是預覽。
覆蓋: ait remote 下共 4 個公開 help surface。
下面的程式碼區塊原樣保留 1.1.1 二進位的輸出,包含它給出的每一個引數、選項、 預設值、可選值、衝突關係和必填要求。
完整命令樹#
ait remote
ait remote add
ait remote list
ait remote recover-head原樣輸出的 help#
ait remote#
二進位描述: Manage server endpoints and recover the canonical remote main head.
Manage server endpoints and recover the canonical remote main head.
Usage: ait remote <COMMAND>
Commands:
add Register a remote using the canonical Repository directory name.
list List configured remotes without contacting their servers.
recover-head Preview or atomically rebuild the exact remote main head and its full Snapshot ancestry.
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help說明
管理伺服器端點並恢復規範的遠端 main head。
| 引數 / 選項 | 說明 |
|---|---|
add | 使用規範的 Repository 目錄名註冊一個遠端。 |
list | 列出已設定的遠端,不連線其伺服器。 |
recover-head | 預覽或原子地重建確切的遠端 main head 及其完整 Snapshot 祖先鏈。 |
help | 列印本訊息或給定子命令的幫助 |
-h, --help | 列印幫助 |
ait remote add#
二進位描述: Register a remote using the canonical Repository directory name.
Register a remote using the canonical Repository directory name.
Usage: ait remote add [OPTIONS] <NAME> <URL>
Arguments:
<NAME> Local name used to select this remote.
<URL> Base URL of the AIT server.
Options:
--default Use this remote by default for both push and pull.
--json Emit the complete machine-readable JSON result.
-h, --help Print help說明
使用規範的 Repository 目錄名註冊一個遠端。
| 引數 / 選項 | 說明 |
|---|---|
<NAME> | 用於選擇此遠端的本地名稱。 |
<URL> | AIT 伺服器的基礎 URL。 |
--default | 預設將此遠端同時用於 push 和 pull。 |
--json | 輸出完整的機器可讀 JSON 結果。 |
-h, --help | 列印幫助 |
ait remote list#
二進位描述: List configured remotes without contacting their servers.
List configured remotes without contacting their servers.
Usage: ait remote list [OPTIONS]
Options:
--json Emit the complete machine-readable JSON result.
-h, --help Print help說明
列出已設定的遠端,不連線其伺服器。
| 引數 / 選項 | 說明 |
|---|---|
--json | 輸出完整的機器可讀 JSON 結果。 |
-h, --help | 列印幫助 |
ait remote recover-head#
二進位描述: Preview or atomically rebuild the exact remote main head and its full Snapshot ancestry.
Preview or atomically rebuild the exact remote main head and its full Snapshot ancestry.
Usage: ait remote recover-head [OPTIONS]
Options:
--remote <NAME> Read from this remote; otherwise use the configured default remote.
--jobs <JOBS> Use this many parallel pack downloads (1 through 64). [default: 8]
--apply Activate the reconstructed generation; omission performs a read-only preview.
--json Emit the complete machine-readable JSON result.
-h, --help Print help說明
預覽或原子地重建確切的遠端 main head 及其完整 Snapshot 祖先鏈。
| 引數 / 選項 | 說明 |
|---|---|
--remote <NAME> | 從此遠端讀取;否則使用設定的預設遠端。 |
--jobs <JOBS> | 使用此數量的並行包下載(1 到 64)。[default: 8] |
--apply | 啟用重建出的世代;省略時執行只讀預覽。 |
--json | 輸出完整的機器可讀 JSON 結果。 |
-h, --help | 列印幫助 |