ait diff — Complete Reference
Compare the current workspace with recorded state using optional bounded path and output filters.
Audience: Users and coding agents
Operating boundary#
Purpose: Compare the current workspace with recorded state using optional bounded path and output filters.
Effect class: Read-only inspection.
Coverage: 1 public help surface under ait diff.
The blocks below preserve the RC.8 binary output in full, including every emitted argument, option, default, possible value, conflict, and requirement.
Complete command tree#
ait diffExact emitted help#
ait diff#
Binary description: 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.
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')