浏览 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