Skip to content

Instantly share code, notes, and snippets.

@res0nat0r
Last active July 14, 2021 20:04
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 res0nat0r/4e0213769c92dda9b5b3a61e45fb6edb to your computer and use it in GitHub Desktop.
Save res0nat0r/4e0213769c92dda9b5b3a61e45fb6edb to your computer and use it in GitHub Desktop.
#!/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