ic apply
Promote snapshot entries into the approved snapshot.
Syntax
ic apply <label> ...
ic apply --all
Options
<label> ...Promote only these facts.--allReplace the approved snapshot with the full resolved snapshot.--promotion FILE|-Use a snapshot other thanactual.jsonas the resolved source.--baseline FILE|-Use a snapshot other thancanon.jsonas the approved source.--output FILE|-Write the updated approved snapshot somewhere other thancanon.json.
Notes
- Applying selected labels can add, replace, or remove those labels in the approved snapshot.
- If a requested label is absent from both the resolved snapshot and the approved snapshot, the command fails.