Command reference

oko-cli diff

Summarizes the changed files and hunks between two Git revisions.

Invocation

oko-cli diff <base> <branch> [--in PATH]

Inputs and options

  • Required base and branch/revision names.
  • --in selects the repository directory; the current directory is the default.

Output and state effect

  • Prints changed-file counts, line totals, and hunk counts; it does not modify the repository.

Refusals and safe exits

  • Fewer than two revisions prints CLI usage and exits unsuccessfully; diff-service errors are returned as errors.