code: def main(args):
      state = State(args)
      while state.loop():
          for run in runs_impl.runs_for_args(args):
              _maybe_sync_run(run)
  
file_path: guildai/guild/commands/sync_impl.py
imports: import logging
  import time
  from guild import cli
  from guild import click_util
  from guild import remote
  from guild import remote_run_support
  from .None import remote_impl_support
  from .None import runs_impl
label_desc: Use image node_id 1 for calling a global function with example usage: main(args) without return types