CLI

The lairs console script. The entry point is lairs.cli.main(argv=None), which parses arguments and dispatches to the subcommand handlers. For the per-subcommand reference see Guides > The CLI.

Subcommands

Entry point

lairs.cli.main

main(argv: Sequence[str] | None = None) -> int

Run the lairs command-line interface.

PARAMETER DESCRIPTION
argv

The argument vector, excluding the program name; defaults to the process arguments.

TYPE: collections.abc.Sequence of str or None DEFAULT: None

RETURNS DESCRIPTION
int

The process exit code: 0 on success, non-zero on failure or on a drift-gate mismatch.