How to use a config file in another folder (--config)

Pass --config path/to/clearrun.config.json. paths in that file are read relative to the file, not to where you run the command.

Last updated

Steps

  1. Point at the file

    clearrun score --config ci/clearrun.config.json
  2. Override the threshold if you need to

    clearrun score --config ci/clearrun.config.json --threshold 75

If the file is missing

With --config, a missing file stops the run with Config file not found: <path>. Without --config, a missing ./clearrun.config.json is fine; the CLI just has no settings.