code: def pool_export(args):
      """Export all the pools to the file."""
      pools = pool_export_helper(args.file)
      print(f"Exported {len(pools)} pools to {args.file}")
  
file_path: airflow/airflow/cli/commands/pool_command.py
imports: from __future__ import annotations
  import json
  import os
  from json import JSONDecodeError
  from airflow.api.client import get_current_api_client
  from airflow.cli.simple_table import AirflowConsole
  from airflow.exceptions import PoolNotFound
  from airflow.utils import cli
  from airflow.utils.cli import suppress_logs_and_warning
  from airflow.utils.providers_configuration_loader import providers_configuration_loaded
label_desc: Use image node_id 7 for calling a global function with example usage: pool_export(args) without return types