Skip to manual
gluon

CLI reference

gluon diff

Compare two versions: change classes, minimum bump, dependents, aliases and access widening.

Model author or developer

Usage

Run it as gluon diff (in the repository, cargo run -p gluon-cli -- diff).

Console / text
Compare two versions: change classes, minimum bump, dependents, aliases and access widening

Usage: gluon diff [OPTIONS] <OLD> <NEW>

Arguments:
  <OLD>
  <NEW>

Options:
      --json
  -h, --help  Print help

What it reads and writes

It loads both package folders and writes nothing. The first line gives both versions, the bump your changes require and the bump you declared. Then come each change with its class, the dependents of changed elements, rename aliases, and diagnostics such as access widening. --json prints the whole report. It exits 1 when a diagnostic is an error. It needs no database.

gluon diff between Contoso 2.4.0 and a copy with one description changed.
gluon diff between Contoso 2.4.0 and a copy with one description changed.