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 | 打印帮助 |