Created
January 17, 2018 16:16
-
-
Save ashcrow/f327431cad90c26bbce94debd80a3e74 to your computer and use it in GitHub Desktop.
Quick and dirty parsing of tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import json | |
import sys | |
def main(): | |
for tag in json.loads(sys.stdin.read())['RepoTags']: | |
# Do your commands here | |
print(tag) | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment