浏览 1.0.0 文档
1.0.0 文档修订 2

ait remote — 完整参考

注册并列出远程权威,或从一个确切的远程 Repository 权威重建本地 Line head。

适用人群: Repository 所有者与恢复运维

作用边界#

用途: 注册并列出远程权威,或从一个确切的远程 Repository 权威重建本地 Line head。

影响类别: 注册和真正执行的恢复会改动状态;不带 apply 标志的恢复只是预览。

覆盖: ait remote 下共 4 个公开 help surface。

下面的代码块原样保留 1.0.0 二进制的输出,包含它给出的每一个参数、选项、 默认值、可选值、冲突关系和必填要求。

完整命令树#

Code · 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.

Code · 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

ait remote add#

二进制描述: Register a remote using the canonical Repository directory name.

Code · 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

ait remote list#

二进制描述: List configured remotes without contacting their servers.

Code · 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

ait remote recover-head#

二进制描述: Preview or atomically rebuild the exact remote main head and its full Snapshot ancestry.

Code · 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

Version authority

Checked against the exact 1.0.0 source

This page is public documentation, not a second product contract. Use the exact source and distribution contract for release authority.

Owning component Snapshots
  • ait-coreSNP-B06A48DA0245
  • ait-serverSNP-E90456E6425E
  • ait-runnerSNP-6B0A1BB3AFAD
  • ait-pythonSNP-973E3BFAF3DE
  • ait-nodeSNP-F962CC66AA62