code: def runs_list(
      all=False,
      deleted=False,
      cwd=".",
      guild_home=None,
      limit=None,
      **kw,
  ):
      from guild import click_util
      from guild.commands import runs_impl
  
      args = click_util.Args(all=all, deleted=deleted)
      _apply_runs_filters(kw, args)
      _apply_remote(kw, args)
      _assert_empty_kw(kw, "runs_list()")
      with Env(cwd, guild_home):
          runs = runs_impl.filtered_runs(args)
          if limit is not None:
              runs = runs[:limit]
          return runs
  
imports: import os
  import subprocess
  import sys
label_desc: Use image node_id 9 for calling a global function with example usage: runs_list(all, deleted, cwd, guild_home, limit) and returns: runs