code: def test_sync(input_command, option, tmpdir):
      with tmp_chdir(str(tmpdir)):
          output = subprocess.check_output(
              input_command + ["sync"] + option,
              stderr=subprocess.STDOUT,
          ).decode("utf-8")
      assert (
          "Tool for synchronizing PROJ datum and transformation support data."
          in output
      )
      assert "--bbox" in output
      assert "--spatial-test" in output
      assert "--source-id" in output
      assert "--area-of-use" in output
      assert "--file" in output
      assert "--exclude-world-coverage" in output
      assert "--include-already-downloaded" in output
      assert "--list-files" in output
      assert "--system-directory" in output
      assert "--target-directory" in output
      assert "-v, --verbose" in output
  
imports: import argparse
  import os
  import subprocess
  import sys
  from glob import glob
  from pathlib import Path
  from unittest.mock import patch
  import pytest
  from pyproj.__main__ import main
  from pyproj.datadir import append_data_dir, get_data_dir, get_user_data_dir
  from pyproj.sync import _load_grid_geojson
  from test.conftest import grids_available, proj_env, tmp_chdir
label_desc: Use image node_id 3 for calling a global function with example usage: test_sync(input_command, option, tmpdir) without return types