armi.cli.migrateInputs module¶
Entry point into ARMI to migrate inputs to the latest version of ARMI.
- class armi.cli.migrateInputs.MigrateInputs[source]¶
Bases:
armi.cli.entryPoint.EntryPointMigrate ARMI Inputs and/or outputs to Latest ARMI Code Base
- name: Optional[str] = 'migrate-inputs'¶
The <command-name> that is used to call the command from the command line
- addOptions()[source]¶
Add additional command line options.
Values of options added to
self.parserwill be available onself.args. Values added withcreateOptionFromSettingwill override the setting values in the settings input file.See also
createOptionFromSettingA method often called from here to creat CLI options from application settings.
argparse.ArgumentParser.add_argumentOften called from here using
self.parser.add_argumentto add custom argparse arguments.
- settingsArgument: Optional[str] = None¶
One of {‘optional’, ‘required’, None}, or unspecified. Specifies whether a settings file argument is to be added to the command’s argument parser. If settingsArgument == ‘required’, then a settings file is a required positional argument. If settingsArgument == ‘optional’, then it is an optional positional argument. Finally, if settingsArgument is None, then no settings file argument is added.