Last active
July 14, 2021 20:04
-
-
Save res0nat0r/4e0213769c92dda9b5b3a61e45fb6edb to your computer and use it in GitHub Desktop.
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 | |
with open('plugins.txt', 'r') as f: | |
for line in f.readlines(): | |
plugin, version = line.split(':') | |
version = version.strip() | |
print("- name: %s\n version: \"%s\"" % (plugin, version)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment