The designateclient.shell Module

class designateclient.shell.DesignateShell[source]

Bases: cliff.app.App

CONSOLE_MESSAGE_FORMAT = '%(levelname)s: %(message)s'
DEFAULT_VERBOSE_LEVEL = 0
build_option_parser(description, version)[source]
configure_logging()[source]

Configure logging for the app

Cliff sets some defaults we don’t want so re-work it a bit

initialize_app(argv)[source]
run(argv)[source]
designateclient.shell.env(*vars, **kwargs)[source]

Search for the first defined of possibly many env vars

Returns the first environment variable defined in vars, or returns the default defined in kwargs.