code: def main(args):
      init_logging()
      if args.group:
          ensure_single_resource(args.data_dir, args.group)
      else:
          ensure_resources(args.data_dir, all_resources)
  
imports: from .None import init_logging
  from .run.resources import all_resources
  from .run.utils import ensure_resources, ensure_single_resource
label_desc: Use image node_id 1 for calling a global function with example usage: main(args) without return types