docs: def audit(anchore_config, ctx, image, imagefile, include_allanchore):
      """
      Image IDs can be specified as hash ids, repo names (e.g. centos), or tags (e.g. centos:latest).
      """
  
      global config, imagelist, nav
      ecode = 0
      success = True
      config = anchore_config
  
      #include_allanchore = True
  
      if image and imagefile:
          raise click.BadOptionUsage('Can only use one of --image, --imagefile')
  
      #if image or imagefile:
      #    include_allanchore = False
  
      try:
          imagedict = build_image_list(anchore_config, image, imagefile, not (image or imagefile), include_allanchore)
          imagelist = imagedict.keys()
          try:
              ret = anchore_utils.discover_imageIds(imagelist)
          except ValueError as err:
              raise err
          else:
              imagelist = ret
  
      except Exception as err:
          anchore_print_err("could not load input images")
          sys.exit(1)