Helpers
ArgumentTuple (tuple)
¶
ArgumentTuple(name, help, autocomplete)
__getnewargs__(self)
special
¶
Return self as a plain tuple. Used by copy and pickle.
Source code in camundactl/cmd/helpers.py
def __getnewargs__(self):
'Return self as a plain tuple. Used by copy and pickle.'
return _tuple(self)
__new__(_cls, name, help, autocomplete)
special
staticmethod
¶
Create new instance of ArgumentTuple(name, help, autocomplete)
__repr__(self)
special
¶
Return a nicely formatted representation string
Source code in camundactl/cmd/helpers.py
def __repr__(self):
'Return a nicely formatted representation string'
return self.__class__.__name__ + repr_fmt % self
OptionTuple (tuple)
¶
OptionTuple(name, help, multiple, type_, autocomplete)
__getnewargs__(self)
special
¶
Return self as a plain tuple. Used by copy and pickle.
Source code in camundactl/cmd/helpers.py
def __getnewargs__(self):
'Return self as a plain tuple. Used by copy and pickle.'
return _tuple(self)
__new__(_cls, name, help, multiple, type_, autocomplete)
special
staticmethod
¶
Create new instance of OptionTuple(name, help, multiple, type_, autocomplete)
__repr__(self)
special
¶
Return a nicely formatted representation string
Source code in camundactl/cmd/helpers.py
def __repr__(self):
'Return a nicely formatted representation string'
return self.__class__.__name__ + repr_fmt % self