code: def run_from_argv(self, prog, subcommand, global_options, argv):
          
          self.prog_name = prog
          parser = self.create_parser(prog, subcommand)
          options, args = parser.parse_args(argv)
          self.global_options = global_options
          self.options = options
          self.args = args
          self.execute(args, options, global_options)
docs: Set up any environment changes requested, then run this command.