code: def main():
      """
      This is the main command line parer and entry function to use TextAttack
      via command lines.
  
      textflint <command> [<args>]
  
      :param string command: dataset, config, model
      :param string [<args>]: depending on the command string
  
      """
      parser = argparse.ArgumentParser(
          "TextFlint CLI",
          usage="[python -m] textflint <command> [<args>]",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
  
      parser.add_argument(
          "--dataset",
          type=str,
          default=None,
          help="file path of json/csv file which satisfy TextFlint requirements",
      )
  
      parser.add_argument(
          "--config",
          type=str,
          default=None,
          help="file path of json file or Config object",
      )
  
      parser.add_argument(
          "--task",
          type=str,
          default="UT",
          help="task name which will be helpful without config input",
      )
  
      parser.add_argument(
          "--model",
          type=str,
          required=False,
          default=None,
          help="path to the python file containing "
          'the FlintModel instance which named "model"',
      )
  
      # run !
      args = parser.parse_args()
  
      engine = Engine()
      engine.run(
          args.dataset,
          config=args.config,
          task=args.task,
          model=args.model,
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types