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.
