ic diff
Compare two snapshots.
Syntax
ic diff [<label>] [--trace] [--proposal FILE|-] [--baseline FILE|-] [--raw]
Arguments and options
<label>Show detailed change records for one fact.--traceInclude traces in detailed output.--proposal FILE|-Read the resolved snapshot from somewhere other thanactual.json.--baseline FILE|-Read the approved snapshot from somewhere other thancanon.json.--rawPrint the whole diff structure as JSON.
Behavior
- Without a label,
diffprints one overview line per changed fact. - With a label, it prints numbered change records with explicit
beforeandaftersections. - Unchanged facts are omitted from the overview.
Example
ic diff
ic diff tea-menu
ic diff tea-menu --trace