12 lines
270 B
Python
Executable file
12 lines
270 B
Python
Executable file
#!/usr/bin/python3
|
|
|
|
import json
|
|
import sys
|
|
|
|
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)
|