@@ -8,28 +8,33 @@ Usage: xrlint [OPTIONS] [FILES]...
88
99 Validate the given dataset FILES.
1010
11- Reads configuration from `xrlint.config.*` if file exists and unless `--no-
12- default-config` is set or `--config PATH` is provided. Then validates each
13- dataset in FILES against the configuration. The validation result is dumped
14- to standard output if not otherwise stated by `--output-file PATH`. The
15- output format is `simple`. Other inbuilt formats are `json` and `html` which
16- can by setting the `--format NAME` option.
11+ Reads configuration from `./xrlint_config.*` if such file exists and unless
12+ `--no_config_lookup` is set or `--config` is provided. Then validates each
13+ dataset in FILES against the configuration. The default dataset patters are
14+ `**/*.zarr` and `**/.nc`. FILES may comprise also directories. If a
15+ directory is not matched by any file pattern, it will be traversed
16+ recursively. The validation result is dumped to standard output if not
17+ otherwise stated by `--output-file`. The output format is `simple` by
18+ default. Other inbuilt formats are `json` and `html` which you can specify
19+ using the `--format` option.
1720
1821Options:
19- --no-default- config Disable use of default configuration from
22+ --no-config-lookup Disable use of default configuration from
2023 xrlint_config.*
21- -c, --config PATH Use this configuration, overriding xrlint_config.*
24+ -c, --config FILE Use this configuration, overriding xrlint_config.*
2225 config options if present
26+ --print-config FILE Print the configuration for the given file
2327 --plugin MODULE Specify plugins. MODULE is the name of Python module
2428 that defines an 'export_plugin()' function.
2529 --rule SPEC Specify rules. SPEC must have format '<rule-name>:
2630 <rule-config>' (note the space character).
27- -o, --output-file PATH Specify file to write report to
31+ -o, --output-file FILE Specify file to write report to
2832 -f, --format NAME Use a specific output format - default: simple
2933 --color / --no-color Force enabling/disabling of color
3034 --max-warnings COUNT Number of warnings to trigger nonzero exit code -
3135 default: 5
3236 --init Write initial configuration file and exit.
3337 --version Show the version and exit.
3438 --help Show this message and exit.
39+
3540```
0 commit comments