Skip to content

Instantly share code, notes, and snippets.

@phase
Created June 15, 2016 05:10
Show Gist options
  • Select an option

  • Save phase/bf1b2261c150b4ada0c586dd67e7fa90 to your computer and use it in GitHub Desktop.

Select an option

Save phase/bf1b2261c150b4ada0c586dd67e7fa90 to your computer and use it in GitHub Desktop.
Format patches from Paper into a Markdown list
import os
patches = os.listdir(os.getcwd()+"/Spigot-Server-Patches")
patches.sort()
for patch in patches:
print("- [ ] " + open("Spigot-Server-Patches/"+patch).readlines()[3].split("[PATCH] ")[1].split("\n")[0],)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment