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= 'migrate-inputs'¶
-
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
createOptionFromSetting()A method often called from here to creat CLI options from application settings.
argparse.ArgumentParser.add_argument()Often called from here using
self.parser.add_argumentto add custom argparse arguments.
-
static
_migrate(settingsPath, dbPath)[source]¶ Run all migrations.
Notes
Some migrations change the paths so we update them one by one. For example, a migration converts a settings file from xml to yaml.
-
settingsArgument= None¶
-