validations_libs.cli.base module

class validations_libs.cli.base.Base[source]

Bases: object

Base class for CLI arguments management

config = {}
set_argument_parser(vf_parser, args, section='default')[source]

Set Arguments parser depending of the precedence ordering: * User CLI arguments * Configuration file * Default CLI values

class validations_libs.cli.base.BaseCommand(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Base Command client implementation class

get_parser(prog_name)[source]

Argument parser for base command

class validations_libs.cli.base.BaseLister(app, app_args, cmd_name=None)[source]

Bases: cliff.lister.Lister

Base Lister client implementation class

get_parser(prog_name)[source]

Argument parser for base lister

class validations_libs.cli.base.BaseShow(app, app_args, cmd_name=None)[source]

Bases: cliff.show.ShowOne

Base Show client implementation class

get_parser(parser)[source]

Argument parser for base show