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.EntryPoint

Migrate 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.parser will be available on self.args. Values added with createOptionFromSetting will 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_argument to add custom argparse arguments.

invoke()[source]

Run the entry point

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