Package rekall :: Module plugin :: Class CommandOption
[frames] | no frames]

Class CommandOption

source code


An option specification.

Instance Methods
 
__init__(self, name=None, default=None, type='String', choices=None, help='', positional=False, required=False, override=False, hidden=False)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
add_argument(self, parser)
Add ourselves to the parser.
source code
 
parse(self, value, session)
Parse the value as passed.
source code

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

Properties
  default
  choices

Inherited from object: __class__

Method Details

__init__(self, name=None, default=None, type='String', choices=None, help='', positional=False, required=False, override=False, hidden=False)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Property Details

default

Get Method:
unreachable.default(self)

choices

Get Method:
unreachable.choices(self)