armi.cli.clone module¶
-
class
armi.cli.clone.
CloneArmiRunCommandBatch
[source]¶ Bases:
armi.cli.entryPoint.EntryPoint
Clone existing ARMI settings input, and associated files, to the current directory and modify it according to the supplied settings (on the command line).
-
name
= 'clone-batch'¶
-
settingsArgument
= 'required'¶
-
addOptions
()[source]¶ Add additional command line options.
Values of options added to
self.parser
will be available onself.args
. Values added withcreateOptionFromSetting
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.
-
-
class
armi.cli.clone.
CloneArmiRunCommandInteractive
[source]¶ Bases:
armi.cli.clone.CloneArmiRunCommandBatch
Interactively clone existing ARMI settings input, and associated files, to the current directory and modify it according to the supplied settings (on the command line).
-
name
= 'clone'¶
-
settingsArgument
= 'required'¶
-
-
class
armi.cli.clone.
CloneSuiteCommand
[source]¶ Bases:
armi.cli.entryPoint.EntryPoint
Clone existing ARMI cases as a new suite.
-
name
= 'clone-suite'¶
-
addOptions
()[source]¶ Add additional command line options.
Values of options added to
self.parser
will be available onself.args
. Values added withcreateOptionFromSetting
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]¶ Body of the entry point.
This is an abstract method, and must must be overridden in sub-classes.
-
settingsArgument
= None¶
-