code: def test_clip_missing_params(runner, tmpdir):
      output = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group, ["clip", "tests/data/shade.tif", output]
      )
      assert result.exit_code == 2
      assert (
          "-bounds, --like, or --to-data-window required"
          in result.output
      )
  
file_path: rasterio/tests/test_rio_clip.py
imports: import os
  import numpy
  import pytest
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 7 for calling a global function with example usage: test_clip_missing_params(runner, tmpdir) without return types