Skip to content

Instantly share code, notes, and snippets.

@jdyke

jdyke/main.py Secret

Created June 1, 2020 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdyke/d9e01213371a00c2b7456dff63614320 to your computer and use it in GitHub Desktop.
Save jdyke/d9e01213371a00c2b7456dff63614320 to your computer and use it in GitHub Desktop.
main
def main():
project_keys = get_keys()
# Writes our keys into a file
with open('key_dump.json', 'w') as f:
formatted = json.dumps(project_keys, indent=4, sort_keys=True)
f.write(formatted)
flat_keys = get_flattened_keys(project_keys)
write_csv(flat_keys)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment