code: def run_from_argv(self, argv):
          
          try:
              return self.main(args=argv[2:], standalone_mode=False)
          except click.ClickException as e:
              if getattr(e.ctx, 'traceback', False):
                  raise
              e.show()
              sys.exit(e.exit_code)
docs: Called when run from the command line.