Source code
Revision control
Copy as Markdown
Other Tools
# -*- coding: utf-8 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
import pickle
import sys
from run_glean_parser import parse
def main(out_fd, *args):
parse_result = parse(args)
pickle.dump(parse_result, out_fd)
if __name__ == "__main__":
main(*sys.argv[1:])