Skip to content

Instantly share code, notes, and snippets.

@tuladhar
Created May 5, 2021 05:49
Show Gist options
  • Save tuladhar/99517a0b5f14ff68bea7b4811e21a5db to your computer and use it in GitHub Desktop.
Save tuladhar/99517a0b5f14ff68bea7b4811e21a5db to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import json
import sys
for k, v in json.load(sys.stdin).items():
print("{}='{}' export {};".format(k, v, k))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment