retroarcher¶
Responsible for starting RetroArcher.
- class retroarcher.IntRange(stop: int, start: int = 0)[source]¶
Bases:
object
Custom IntRange class for argparse.
Prevents printing out large list of possible choices for integer ranges.
- Parameters:
- stopint
Range maximum value.
- startint, default = 0
Range minimum value.
Examples
>>> IntRange(0, 10) <retroarcher.IntRange object at 0x...>
Methods
__call__:
Validate that value is within accepted range.