provcat.cli

The provc command.

main

source

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

Run the provc command: parse the arguments, run one command on the catalog, print the answer.

Parameter Type Default Description
argv list[str] | None None The arguments after the program name; None reads sys.argv
returns int The exit status: 0 on success, 1 when provcat or the system raised an error. Bad arguments raise SystemExit(2), as argparse does