code: def test_colorinterp_like_all(
      runner, path_4band_no_colorinterp, path_rgba_byte_tif, tmpdir
  ):
      """Test setting colorinterp via '--like template --all'."""
      noci = str(tmpdir.join("test_colorinterp_like_all.tif"))
      rasterio.shutil.copy(path_4band_no_colorinterp, noci)
      result = runner.invoke(
          main_group,
          ["edit-info", noci, "--like", path_rgba_byte_tif, "--all"],
      )
      assert result.exit_code == 0
      with rasterio.open(noci) as src:
          assert src.colorinterp == (
              ColorInterp.red,
              ColorInterp.green,
              ColorInterp.blue,
              ColorInterp.alpha,
          )
  
imports: import json
  import click
  import numpy
  import pytest
  import rasterio
  from rasterio.enums import ColorInterp
  from rasterio.rio.edit_info import all_handler, crs_handler, tags_handler, transform_handler, colorinterp_handler
  from rasterio.rio.main import main_group
  import rasterio.shutil
label_desc: Use image node_id 33 for calling a global function with example usage: test_colorinterp_like_all(runner, path_4band_no_colorinterp, path_rgba_byte_tif, tmpdir) without return types