Skip to content

verify.cli

The command line of verify, run as python -m sbmlsim.run verify.

parser

parser()

Create the parser of the command line.

verify

verify(args=None)

Run a subcommand.

Parameters:

Name Type Description Default
args Sequence[str] | None

the command line arguments, sys.argv[1:] by default.

None

Returns:

Type Description
int

The exit code: 0, 1 if the subcommand found a difference, 2 for a

int

command which cannot be run as it was asked (UsageError, or the

int

arguments, which argparse rejects) and 4 for a project which cannot be

int

loaded (ProjectNotLoaded, as the kinds of the run layer).