浏览 1.0.0 文档
1.0.0 文档修订 2

ait diff — 完整参考

用可选的有界路径和输出过滤条件,比较当前工作区与已记录的状态。

适用人群: 用户与 coding agent

作用边界#

用途: 用可选的有界路径和输出过滤条件,比较当前工作区与已记录的状态。

影响类别: 只读查看。

覆盖: ait diff 下共 1 个公开 help surface。

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

完整命令树#

Code · text
ait diff

原样输出的 help#

ait diff#

二进制描述: Compare the current workspace with the current Line head without modifying repository or workspace authority. With no output option, emit the existing unified text diff. Use --json for the stable machine-readable projection, --stat for per-file text statistics, or --name-only for the ordered changed-path list. Positional PATH values select exact workspace-relative files or directory subtrees using lexical matching, not globs.

Code · text
Compare the current workspace with the current Line head without modifying repository or workspace authority. With no output option, emit the existing unified text diff. Use --json for the stable machine-readable projection, --stat for per-file text statistics, or --name-only for the ordered changed-path list. Positional PATH values select exact workspace-relative files or directory subtrees using lexical matching, not globs.

Usage: ait diff [OPTIONS] [PATH]...

Arguments:
  [PATH]...
          Limit the comparison to an exact workspace-relative file or directory subtree. Repeat PATH to combine lexical filters; glob syntax is not supported.

Options:
      --json
          Emit the stable machine-readable workspace-diff projection.

      --stat
          Emit per-file text statistics.

      --name-only
          Emit only the ordered changed-path list.

  -h, --help
          Print help (see a summary with '-h')

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