#NEWLINE# def get_base_parser( self ) : #NEWLINE# #INDENT# parser = argparse . ArgumentParser ( prog = 'cloudkitty' , description = __doc__ . strip ( ) , epilog = 'See "cloudkitty help COMMAND" for help on a specific command.' , add_help = False , formatter_class = HelpFormatter ) #NEWLINE# parser . add_argument ( '-h' , '--help' , action = 'store_true' , help = argparse . SUPPRESS ) #NEWLINE# parser . add_argument ( '--version' , action = 'version' , version = cloudkittyclient . __version__ ) #NEWLINE# parser . add_argument ( '-d' , '--debug' , default = bool ( cliutils . env ( 'CLOUDKITTYCLIENT_DEBUG' ) ) , action = 'store_true' , help = 'Defaults to env[CLOUDKITTYCLIENT_DEBUG].' ) #NEWLINE# parser . add_argument ( '-v' , '--verbose' , default = False , action = 'store_true' , help = 'Print more verbose output.' ) #NEWLINE# parser . add_argument ( '--timeout' , default = 600 , type = _positive_non_zero_int , help = 'Number of seconds to wait for a response.' ) #NEWLINE# parser . add_argument ( '--cloudkitty-url' , metavar = '<CLOUDKITTY_URL>' , dest = 'os_endpoint' , default = cliutils . env ( 'CLOUDKITTY_URL' ) , help = 'DEPRECATED, use --os-endpoint instead. Defaults to env[CLOUDKITTY_URL].' ) #NEWLINE# parser . add_argument ( '--cloudkitty_url' , dest = 'os_endpoint' , help = argparse . SUPPRESS ) #NEWLINE# parser . add_argument ( '--cloudkitty-api-version' , default = cliutils . env ( 'CLOUDKITTY_API_VERSION' , default = '1' ) , help = 'Defaults to env[CLOUDKITTY_API_VERSION] or 1.' ) #NEWLINE# parser . add_argument ( '--cloudkitty_api_version' , help = argparse . SUPPRESS ) #NEWLINE# self . auth_plugin . add_opts ( parser ) #NEWLINE# self . auth_plugin . add_common_opts ( parser ) #NEWLINE# return parser