ait repo — 完整参考
查看或管理已注册的远程 Repository 及其 CI 任务、能力和运行记录。
适用人群: Repository 所有者与运维
作用边界#
用途: 查看或管理已注册的远程 Repository 及其 CI 任务、能力和运行记录。
影响类别: 远程读取与管理混合的入口;退役、恢复和 CI 调度会改动远程权威。
覆盖: ait repo 下共 6 个公开 help surface。
下面的代码块原样保留 1.0.0 二进制的输出,包含它给出的每一个参数、选项、 默认值、可选值、冲突关系和必填要求。
完整命令树#
ait repo
ait repo show
ait repo retire
ait repo restore
ait repo jobs
ait repo ci-capabilities原样输出的 help#
ait repo#
二进制描述: Inspect and manage the configured remote Repository authority.
Inspect and manage the configured remote Repository authority.
Usage: ait repo <COMMAND>
Commands:
show Read Repository identity, lifecycle, storage validation, and sync state.
retire Drain, archive, verify, and purge a remote Repository, or abort that retirement.
restore Restore a complete local retirement archive as a new remote Repository.
jobs Read one Worker Job or a bounded, optionally filtered Job inventory.
ci-capabilities Inspect server, native runner, and remote-sync prerequisites for Patchset CI.
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print helpait repo show#
二进制描述: Read Repository identity, lifecycle, storage validation, and sync state.
Read Repository identity, lifecycle, storage validation, and sync state.
Usage: ait repo show [OPTIONS]
Options:
--remote <NAME> Use this configured remote; omission uses the Repository default remote.
--json Emit the complete machine-readable JSON result.
-h, --help Print helpait repo retire#
二进制描述: Without --abort, drain the remote Repository, durably download and verify its complete authority archive, then purge server authority. An unrelated complete local archive blocks retirement and must be handled with ait repo restore --remote <NAME>; there is no archive replacement option. With --abort, reactivate the Repository and preserve any complete local archive.
Without --abort, drain the remote Repository, durably download and verify its complete authority archive, then purge server authority. An unrelated complete local archive blocks retirement and must be handled with `ait repo restore --remote <NAME>`; there is no archive replacement option. With --abort, reactivate the Repository and preserve any complete local archive.
Usage: ait repo retire [OPTIONS]
Options:
--remote <NAME>
Mutate this configured remote; omission uses the Repository default remote.
--abort
Abort an in-progress retirement and reactivate the Repository while preserving any complete local archive.
--json
Emit the complete machine-readable JSON result.
-h, --help
Print help (see a summary with '-h')ait repo restore#
二进制描述: Verify the complete .ait/remote/<remote>/ retirement archive, create a new remote Repository index, upload and commit its authority, then update the local configured Repository index. Archive identity is authoritative; there is no name, index, or force override.
Verify the complete `.ait/remote/<remote>/` retirement archive, create a new remote Repository index, upload and commit its authority, then update the local configured Repository index. Archive identity is authoritative; there is no name, index, or force override.
Usage: ait repo restore [OPTIONS]
Options:
--remote <NAME>
Use this configured remote; omission uses the Repository default remote.
--json
Emit the complete machine-readable JSON result.
-h, --help
Print help (see a summary with '-h')ait repo jobs#
二进制描述: Read one Worker Job or a bounded, optionally filtered Job inventory.
Read one Worker Job or a bounded, optionally filtered Job inventory.
Usage: ait repo jobs [OPTIONS]
Options:
--remote <NAME> Read from this configured remote; omission uses the Repository default remote.
--worker-job-index <INDEX> Read one exact Repository-scoped Worker Job; cannot be combined with list filters.
--state <STATE> Return only queued, running, succeeded, or failed Jobs. [possible values: queued, running, succeeded, failed]
--limit <COUNT> Return at most this many Jobs in list mode (1 through 1000; default 50). [default: 50]
--json Emit the complete machine-readable JSON result.
-h, --help Print helpait repo ci-capabilities#
二进制描述: Inspect server, native runner, and remote-sync prerequisites for Patchset CI.
Inspect server, native runner, and remote-sync prerequisites for Patchset CI.
Usage: ait repo ci-capabilities [OPTIONS]
Options:
--remote <NAME> Use this configured remote; omission uses the Repository default remote.
--json Emit the complete machine-readable JSON result.
-h, --help Print help