CLI¶
themis-quickcheck¶
Primary subcommands:
scoresfailureslatency
Benchmark-first filters:
--slice--dimension key=value
themis¶
The parent CLI currently exposes config-report workflows.
quickcheck ¶
Small CLI for reading projection summaries from a Themis SQLite database.
add_quickcheck_arguments ¶
Attach quickcheck subcommands to an argparse subparser collection.
| PARAMETER | DESCRIPTION |
|---|---|
subparsers
|
The argparse subparser collection that should receive the
TYPE:
|
Source code in themis/cli/quickcheck.py
add_quickcheck_subparser ¶
Add the quickcheck command to a parent CLI.
| PARAMETER | DESCRIPTION |
|---|---|
subparsers
|
Parent CLI subparser collection that should receive the
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
ArgumentParser
|
The configured quickcheck parser that was attached to the parent CLI. |
Source code in themis/cli/quickcheck.py
build_parser ¶
Build the quickcheck CLI parser.
| PARAMETER | DESCRIPTION |
|---|---|
prog
|
Program name displayed in usage text.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
ArgumentParser
|
A fully configured parser for the standalone quickcheck CLI. |
Source code in themis/cli/quickcheck.py
configure_quickcheck_parser ¶
Configure one parser to serve the quickcheck CLI.
| PARAMETER | DESCRIPTION |
|---|---|
parser
|
The parser to configure for quickcheck dispatch.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
ArgumentParser
|
The same parser after subcommands and dispatch metadata are attached. |
Source code in themis/cli/quickcheck.py
main ¶
Run the quickcheck CLI and dispatch to the selected summary command.
| PARAMETER | DESCRIPTION |
|---|---|
argv
|
Optional argument vector to parse instead of
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
int
|
A shell-compatible exit status for the selected quickcheck command. |
| RAISES | DESCRIPTION |
|---|---|
SystemExit
|
Propagated by argparse when invalid CLI input is supplied. |
Source code in themis/cli/quickcheck.py
run_with_args ¶
Execute the parsed quickcheck command.
| PARAMETER | DESCRIPTION |
|---|---|
args
|
Parsed quickcheck arguments including the selected subcommand and any overlay filters.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
int
|
A shell-compatible exit status for the selected quickcheck query. |
Source code in themis/cli/quickcheck.py
main ¶
Parent CLI for Themis commands.
build_parser ¶
Build the top-level Themis CLI parser.
| RETURNS | DESCRIPTION |
|---|---|
ArgumentParser
|
A parser configured with the currently supported Themis subcommands. |
Source code in themis/cli/main.py
main ¶
Run the top-level Themis CLI.
| PARAMETER | DESCRIPTION |
|---|---|
argv
|
Optional argument vector to parse instead of
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
int
|
A shell-compatible exit status produced by the selected subcommand. |
| RAISES | DESCRIPTION |
|---|---|
SystemExit
|
Normalized into the returned shell exit status when argparse or a subcommand exits. |