Module Command :: Class option
[hide private]

Class option

source code

object --+
         |
        option

An abstraction of an option.

To be used with a stacker object.

Instance Methods [hide private]
 
__call__(self, value)
Allow for ...| cmd -c(3) |...
source code
 
__init__(self, name, value=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__neg__(self)
Gobles up a unary minus.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, value=True)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__neg__(self)

source code 

Gobles up a unary minus.

Facilitates long options.