code: def delete_runs(ctx, args):
      """Delete one or more runs.
  
      Runs are deleting by specifying `RUN` arguments. If a `RUN`
      argument is not specified, all runs matching the filter criteria
      are deleted. See SPECIFYING RUNS and FILTERING topics for more
      information on how runs are selected.
  
      By default, Guild will display the list of runs to be deleted and
      ask you to confirm the operation. If you want to delete the runs
      without being prompted, use the ``--yes`` option.
  
      **WARNING**: Take care when deleting runs using indexes as the
      runs selected with indexes can change. Review the list of runs
      carefully before confirming a delete operation.
  
      If a run is still running, Guild will stop it first before
      deleting it.
  
      If you delete a run by mistake, provided you didn't use the
      ``--permanent`` option, you can restore it using ``guild runs
      restore``.
  
      If you want to permanently delete runs, use the ``--permanent``
      option.
  
      **WARNING**: Permanentaly deleted runs cannot be restored.
  
      {{ runs_support.runs_arg }}
  
      If a `RUN` argument is not specified, ``:`` is assumed (all runs
      are selected).
  
      {{ runs_support.all_filters }}
  
      ### Delete Remote Runs
  
      To delete runs on a remote, use `--remote`.
  
      {{ remote_support.remote_option }}
  
      """
  
      from . import runs_impl
  
      with click_util.CmdContext("guild.runs.delete", args, ctx):
          runs_impl.delete_runs(args, ctx)
  
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: delete_runs(ctx, args) without return types