Package ganeti :: Module cli_opts :: Class CliOption
[hide private]
[frames] | no frames]

Class CliOption

source code


Custom option class for optparse.

Instance Methods [hide private]

Inherited from optparse.Option: __init__, __repr__, __str__, check_value, convert_value, get_opt_string, process, take_action, takes_value

Inherited from optparse.Option (private): _check_action, _check_callback, _check_choice, _check_const, _check_dest, _check_nargs, _check_opt_strings, _check_type, _set_attrs, _set_opt_strings

Class Variables [hide private]
  ATTRS = Option.ATTRS+ ["completion_suggest",]
  TYPES = Option.TYPES+("multilistidentkeyval", "identkeyval", "...
  TYPE_CHECKER = Option.TYPE_CHECKER.copy()

Inherited from optparse.Option: ACTIONS, ALWAYS_TYPED_ACTIONS, CHECK_METHODS, CONST_ACTIONS, STORE_ACTIONS, TYPED_ACTIONS

Class Variable Details [hide private]

TYPES

Value:
Option.TYPES+("multilistidentkeyval", "identkeyval", "keyval", "keypri\
vateval", "unit", "bool", "list", "maybefloat", "json", "filteraction"\
,)