server_scripts module¶
Common¶
- pysmurf.core.server_scripts.Common.get_args()[source]¶
Parses and processes args, returning the modified arguments as a dict. This is to maintain backwards compatibility with the old of parsing arguments.
- pysmurf.core.server_scripts.Common.make_parser(parser=None)[source]¶
Creates argparse parser containing smurf command-line options
- Parameters
parser (optional, argparse.ArgumentParser) – Existing parser to add arguments to. If not specified a new one will be created and returned.