Blob Blame History Raw
#!/usr/bin/python3
"""
Do Nothing

No-op stage. Prints a JSON dump of the options passed into this stage and
leaves the tree untouched. Useful for testing, debugging, and wasting time.
"""


import json
import sys

SCHEMA = """
"additionalProperties": false
"""

def main(_tree, options):
    print("Not doing anything with these options:", json.dumps(options))

if __name__ == '__main__':
    args = json.load(sys.stdin)
    r = main(args["tree"], args.get("options", {}))
    sys.exit(r)