code: def register_custom_actions(parser: argparse.ArgumentParser) -> None:
      
      parser.register('action', None, _StoreRangeAction)
      parser.register('action', 'store', _StoreRangeAction)
      parser.register('action', 'append', _AppendRangeAction)
docs: Register custom argument action types