Skip to content

ANTA check commands

The ANTA check command allows you to execute some checks on the ANTA input files. Only checking the catalog is currently supported.

$ anta check --help
Usage: anta check [OPTIONS] COMMAND [ARGS]...

  Commands to validate configuration files.

Options:
  --help  Show this message and exit.

Commands:
  catalog  Check that the catalog is valid.

Checking the catalog

$ anta check catalog --help
Usage: anta check catalog [OPTIONS]

  Check that the catalog is valid.

Options:
  -c, --catalog FILE            Path to the test catalog file  [env var:
                                ANTA_CATALOG; required]
  --catalog-format [yaml|json]  Format of the catalog file, either 'yaml' or
                                'json'  [env var: ANTA_CATALOG_FORMAT]
  --help                        Show this message and exit.