1 2 3 4 5 6
import json import sys def run_cli(): payload = json.loads(sys.argv[1]) return payload["user"]