code: def label_params(fn):
      click_util.append_params(
          fn,
          [
              runs_support.runs_arg,
              click.Option(
                  ("-s", "--set"),
                  metavar="VAL",
                  help="Set VAL as label.",
              ),
              click.Option(
                  ("-p", "--prepend"),
                  metavar="VAL",
                  help="Prepend VAL to existing label.",
              ),
              click.Option(
                  ("-a", "--append"),
                  metavar="VAL",
                  help="Append VAL to existing label.",
              ),
              click.Option(
                  ("-rm", "--remove"),
                  metavar="VAL",
                  multiple=True,
                  help="Remove VAL from existing label. May be used multiple times.",
              ),
              click.Option(
                  ("-c", "--clear"),
                  help="Clear the entire run label.",
                  is_flag=True,
              ),
              runs_support.all_filters,
              remote_support.remote_option("Label remote runs."),
              click.Option(
                  ("-y", "--yes"),
                  help="Do not prompt before modifying labels.",
                  is_flag=True,
              ),
          ],
      )
      return fn
  
imports: import click
  from guild import click_util
  from .None import remote_support
  from .None import runs_support
label_desc: Use image node_id 1 for calling a global function with example usage: label_params(fn) and returns: fn