The oasdiff command can read its configuration from a file.
This is useful for complex configurations or repeated usage patterns.
The config file should be named oasdiff.{json,yaml,yml,toml,hcl} and placed in the directory where the command is run.
For example, see oasdiff.yaml.
The configuration file supports the exact same flags that are supported by the command-line.
Notes:
- Command-line flags take precedence over configuration file settings.
- Some of the flags define paths to additional configuration files:
err-ignore: configuration file for ignoring errorsseverity-levels: configuration file for custom severity levelswarn-ignore: configuration file for ignoring warnings