Callbacks

Callbacks module.

It includes functions used as callbacks by CLI commands. This allows to validate inputs, normalize them, or simply calling some functions before the rest of the command.

crypto_condor.cli.callbacks.print_version(ver)

Prints the current version and exits.

Parameters:

ver (bool) – True if the corresponding option was used.

crypto_condor.cli.callbacks.list_languages(show)

Lists the primitives and its available wrappers, and exits.

Parameters:

show (bool) – passed by Typer, True if the –list option was used.

crypto_condor.cli.callbacks.print_testu01_install_dir(show)

Shows the install location of TestU01.

Checks whether TestU01 seems installed or not.

Parameters:

show (bool) – Passed by Typer. If True, displays the location and quits, otherwise just returns.