code: def main(args):
      cmd_impl_support.init_model_path()
      dirs = models_iter_dirs(args)
      formatted = [_format_model(m) for m in iter_models(dirs)]
      filtered = [m for m in formatted if _filter_model(m, args)]
      cli.table(
          sorted(filtered, key=_model_sort_key),
          cols=["fullname", "description"],
          detail=(
              ["source", "operations", "details"]
              if args.verbose
              else []
          ),
      )
  
file_path: guildai/guild/commands/models_impl.py
imports: import os
  from guild import cli
  from guild import cmd_impl_support
  from guild import config
  from guild import guildfile
  from guild import model
  from guild import util
label_desc: Use image node_id 1 for calling a global function with example usage: main(args) without return types