code: def ls(args):
      
      p = OptionParser(ls.__doc__)
      p.add_option("--keys", help="List of keys to include")
      p.add_option("--recursive", default=False, action="store_true",
                   help="Recursive search")
      opts, args = p.parse_args(args)
  
      if len(args) != 1:
          sys.exit(not p.print_help())
  
      store, = args
      keys = opts.keys
      if keys:
          keys = SetFile(keys)
      print("\n".join(glob_s3(store, keys=keys, recursive=opts.recursive)))
docs: %prog ls "s3://hli-mv-data-science/htang/str/*.vcf.gz"
  
      List files with support for wildcards.