sierra.core.generators.controller_generator_parser
ControllerGeneratorParser
: Parse the controller generator specification from cmdline arguments.
- class sierra.core.generators.controller_generator_parser.ControllerGeneratorParser[source]
Parse the controller generator specification from cmdline arguments.
Used later to create generator classes to make modifications to template input files.
Format for pair is:
<category>.<controller>
.- Returns:
Parsed controller specification, the generator is missing from the command line altogether; this can occur if the user is only running stage [4,5], and is not an error. In that case, None is returned.
Inheritance
- __dict__ = mappingproxy({'__module__': 'sierra.core.generators.controller_generator_parser', '__doc__': 'Parse the controller generator specification from cmdline arguments.\n\n Used later to create generator classes to make modifications to template\n input files.\n\n Format for pair is: ``<category>.<controller>``.\n\n Return:\n\n Parsed controller specification, the generator is missing from the command\n line altogether; this can occur if the user is only running stage [4,5],\n and is not an error. In that case, None is returned.\n\n ', '__call__': <function ControllerGeneratorParser.__call__>, '__dict__': <attribute '__dict__' of 'ControllerGeneratorParser' objects>, '__weakref__': <attribute '__weakref__' of 'ControllerGeneratorParser' objects>, '__annotations__': {}})
- __doc__ = 'Parse the controller generator specification from cmdline arguments.\n\n Used later to create generator classes to make modifications to template\n input files.\n\n Format for pair is: ``<category>.<controller>``.\n\n Return:\n\n Parsed controller specification, the generator is missing from the command\n line altogether; this can occur if the user is only running stage [4,5],\n and is not an error. In that case, None is returned.\n\n '
- __module__ = 'sierra.core.generators.controller_generator_parser'
- __weakref__
list of weak references to the object (if defined)