CLParam
CLParam¶
- class CLParam[source]¶
Bases:
configpile.handlers.CLHandler
,Generic
[configpile.handlers._Value
]Parameter handler
Takes a single string argument from the command line, parses it and pushes into the corresponding sequence of instances
Attributes
Note: attributes inherited from parent classes are not shown here, if any
Parameter to handle
Methods
A method called on the successful parse of a value
Processes arguments, possibly updating the state or returning errors
List of members of CLParam
- param: configpile.arg.Param[configpile.handlers._Value]¶
Parameter to handle
- action(value, state)[source]¶
A method called on the successful parse of a value
Can be overridden. By default does nothing.
- __init__(param)¶
- static __new__(cls, *args, **kwds)¶