code: def list_runs(ctx, args):
      """List runs.
  
      Run lists may be filtered using a variety of options. See below
      for details.
  
      By default, the last 20 runs are shown. Use `-a, --all` to show
      all runs, or `-m` to show more 20 more runs. You may use `-m`
      multiple times.
  
      Run indexes are included in list output for a specific listing,
      which is based on the available runs, their states, and the
      specified filters. You may use the indexes in run selection
      commands (e.g. ``runs delete``, ``compare``, etc.) but note that
      these indexes will change as runs are started, deleted, or run
      status changes.
  
      To show run detail, use `--verbose`.
  
      {{ runs_support.all_filters }}
  
      ### Show Deleted Runs
  
      Use `--deleted` to show deleted runs. You can use the listing for
      run IDs and indexes to use in ``runs restore`` (restore runs) and
      ``runs purge`` (permanently delete runs).
  
      {{ runs_support.archive_option }}
  
      ### Show Remote Runs
  
      To list runs on a remote, specify `--remote REMOTE`. Use ``guild
      remotes`` to list available remotes.
  
      For information on configuring remotes, see ``guild remotes
      --help``.
  
      """
      from . import runs_impl
  
      runs_impl.list_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 2 for calling a global function with example usage: list_runs(ctx, args) without return types