Skip to main content
Version: 1.8.9

impact

Synopsis​

starlake impact [options]

Description​

Compare two versions of the project and report direct changes and their downstream impact. Default: merge-base(--base, HEAD) against the current project directory, uncommitted edits included. Nothing is executed and no database connection is opened. Exit codes: 0 report written, 1 --fail-on matched, 2 usage, git or project loading error.

Parameters​

ParameterCardinalityDescription
--base <value>Optionalgit ref of the old side; the merge-base with --head (or HEAD) is used
--head <value>Optionalgit ref of the new side (default: the current project directory as is)
--path1 <value>Optionalold project directory, instead of --base
--path2 <value>Optionalnew project directory, instead of --head
--env <value>Optionalenv used to render SQL variables
--format <value>Optionaltext (default), json, markdown or html
--output <value>Optionalwrite the report to this local file instead of stdout; recommended in CI, where the launcher may print to stdout too
--template <value>OptionalJinja template for the html format; the values it receives are already HTML-escaped
--fail-on <value>Optionalexit 1 when the report has a breaking change (breaking) or anything but metadata (non-breaking)