code: def select(ctx, args):
      """Select a run and shows its ID.
  
      This command is generally used when specifying a run ID for
      another Guild command. For example, to restart the latest `train`
      run:
  
          `guild run --restart $(guild select -o train)`
  
      {{ runs_support.run_arg }}
  
      If RUN isn't specified, the latest matching run is selected.
  
      ### Selecting Min or Max Scalar
  
      To select the run with the lowest or highest column value, use
      `--min` or `--max` respectively. For example, to select the run
      with the lowest `loss` scalar value, use `--min loss`.
  
      For help with COLSPEC formatting, see `COLUMN SPECS` in `compare`
      help by running `guild compare --help`.
  
      Other run filters are applied before selecting a minimum or
      maximium scalar value.
  
      {{ runs_support.all_filters }}
  
      ### Select remote rnus
  
      To apply `select` to remote runs, 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.select(args, ctx)
  
imports: import click
  from guild import click_util
  from .None import runs_support
  from .None import remote_support
label_desc: Use image node_id 2 for calling a global function with example usage: select(ctx, args) without return types