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]¶ Return an argparse option parser for this application.
Subclasses may override this method to extend the parser with more global options.
- Parameters
description (str) – full description of the application
version (str) – version number for the application
argparse_kwargs – extra keyword argument passed to the ArgumentParser constructor
-
configure_logging()[source]¶ Configure logging for the app
Cliff sets some defaults we don’t want so re-work it a bit
-