

def initialize(self, context):
    self.parser.add_argument('agenda', metavar='AGENDA', help='\n                                 Agenda for this workload automation run. This defines which\n                                 workloads will be executed, how many times, with which\n                                 tunables, etc.  See example agendas in {} for an example of\n                                 how this file should be structured.\n                                 '.format(os.path.dirname(wlauto.__file__)))
    self.parser.add_argument('-d', '--output-directory', metavar='DIR', default=None, help='\n                                 Specify a directory where the output will be generated. If\n                                 the directory already exists, the script will abort unless -f\n                                 option (see below) is used, in which case the contents of the\n                                 directory will be overwritten. If this option is not specified,\n                                 then {} will be used instead.\n                                 '.format(settings.output_directory))
    self.parser.add_argument('-f', '--force', action='store_true', help='\n                                 Overwrite output directory if it exists. By default, the script\n                                 will abort in this situation to prevent accidental data loss.\n                                 ')
    self.parser.add_argument('-i', '--id', action='append', dest='only_run_ids', metavar='ID', help='\n                                 Specify a workload spec ID from an agenda to run. If this is\n                                 specified, only that particular spec will be run, and other\n                                 workloads in the agenda will be ignored. This option may be\n                                 used to specify multiple IDs.\n                                 ')
    self.parser.add_argument('--disable', action='append', dest='instruments_to_disable', metavar='INSTRUMENT', help='\n                                 Specify an instrument to disable from the command line. This\n                                 equivalent to adding "~{metavar}" to the instrumentation list in\n                                 the agenda. This can be used to temporarily disable a troublesome\n                                 instrument for a particular run without introducing permanent\n                                 change to the config (which one might then forget to revert).\n                                 This option may be specified multiple times.\n                                 ')

dataset/ETHPy150Open ARM-software/workload-automation/wlauto/commands/run.py RunCommand.initialize/original