add_index_params

Import in python using from mcutils.scripts.sidecar.index import add_index_params

mcutils.scripts.sidecar.index.add_index_params(parser: argparse.ArgumentParser, exclude=(), as_group=True)[source]

Adds the arguments needed to define indexing of an XPS file on the command line

Parameters
  • parser – argument parser

  • exclude – exclude certain parameters from the accepted parameter list

  • as_group – add the new parameters in their own group