예제 #1
0
 def prepare_argument_parser(cls, parser, args):
     parser.add_argument('--command', type=str, help='Command to run')
     add_output_dir_arg(parser)
     parser.add_argument('-p',
                         '--parameters',
                         dest='parameters_file',
                         help='Json file where parameters are stored',
                         type=str)
     add_detach_command_line_argument(parser)
예제 #2
0
 def prepare_argument_parser(cls, parser, args):
     cls.maybe_add_execution_id_arg(parser, args)
     add_detach_command_line_argument(parser)
     add_output_dir_arg(parser)
     parser.add_argument('-p',
                         '--override-parameters',
                         dest='parameters_file',
                         help='Override the parameters of the previous '
                         'run with the ones in this file',
                         type=str,
                         default=None)
예제 #3
0
 def prepare_argument_parser(cls, parser, args):
     cls.maybe_add_execution_id_arg(parser, args)
     add_output_dir_arg(parser)
     parser.add_argument(
         '--force-if-running',
         '-f',
         action='store_true',
         default=False,
         help='Download output even if the process is still running. '
         'Discouraged as the output might be in an inconsistent '
         'state. If the output directory is present it\'ll be '
         'overwritten')
     parser.add_argument('--path',
                         '-p',
                         type=str,
                         default=None,
                         help='Download only the path specified')
예제 #4
0
 def prepare_argument_parser(cls, parser, args):
     cls.maybe_add_execution_id_arg(parser, args)
     add_detach_command_line_argument(parser)
     add_output_dir_arg(parser)