瀏覽 1.1.1 文件
1.1.1

ait remote — 完整參考

註冊並列出遠端權威,或從一個確切的遠端 Repository 權威重建本地 Line head。

適用對象: Repository 所有者與恢復維運

作用邊界#

用途: 註冊並列出遠端權威,或從一個確切的遠端 Repository 權威重建本地 Line head。

影響類別: 註冊和真正執行的恢復會改動狀態;不帶 apply 標誌的恢復只是預覽。

覆蓋: ait remote 下共 4 個公開 help surface。

下面的程式碼區塊原樣保留 1.1.1 二進位的輸出,包含它給出的每一個引數、選項、 預設值、可選值、衝突關係和必填要求。

完整命令樹#

程式碼 · text
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.

程式碼 · text
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.

程式碼 · text
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.

程式碼 · text
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.

程式碼 · text
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列印幫助

版本權威

對照 1.1.1 原始碼逐條核對

這一頁是公開文件,不是第二份產品契約。要確認發布權威,請以確切的原始碼和分發契約為準。

所屬元件 Snapshot
  • ait-coreSNP-ED7593DBF982
  • ait-serverSNP-0CCD7DD2A077
  • ait-runnerSNP-35C9C133D2EE
  • ait-pythonSNP-756C731A4CC0
  • ait-nodeSNP-55E90D0A81F1