flux.cli.batch module
- class flux.cli.batch.BatchCmd(prog, usage=None, description=None)
Bases:
BatchAllocCmd- init_jobspec(args)
Return initialized jobspec. This is an abstract method which must be provided by each base class
- main(args)
- parse_directive_args(name, batchscript)
Parse any directives in batchscript.directives, then apply command line arguments in self.argv. This allows command line to override file directives
- process_script(args)
Process a batch script that may contain RFC 36 directives. Returns the ingested script and new argparse args Namespace.