validations_libs.cli.app module

class validations_libs.cli.app.ValidationCliApp[source]

Bases: App

Cliff application for the ValidationCli tool. :param description: one-liner explaining the program purpose :param version: application version number :param command_manager: plugin loader :param deferred_help: Allow subcommands to accept –help with allowing to defer help print after initialize_app

clean_up(cmd, result, err)[source]

Hook run after a command is done to shutdown the app.

Parameters:
  • cmd (cliff.command.Command) – command processor being invoked

  • result (int) – return value of cmd

  • err (Exception) – exception or None

initialize_app(argv)[source]

Hook for subclasses to take global initialization action after the arguments are parsed but before a command is run. Invoked only once, even in interactive mode.

Parameters:

argv – List of arguments, including the subcommand to run. Empty for interactive mode.

prepare_to_run_command(cmd)[source]

Perform any preliminary work needed to run a command.

Parameters:

cmd (cliff.command.Command) – command processor being invoked

validations_libs.cli.app.main(argv=['-a', '-E', '-W', '-d', 'doc/build/doctrees', '--keep-going', '-b', 'html', 'doc/source', 'doc/build/html', '-T'])[source]