UPDATETOOL - The easiest way to update your OS

So, you want an updater for your OS, eh? Updatetool is here to help!
Updatetool is a command-line tool that will work for any OS on github to allow easy updating! It can generate update files, and it only downloads changed files and deletes deleted files! It tracks your version for you! No messing with version files or updaters!

How to set up:
1. Add the program to your OS
2. Configure the variables in the beginning of the program to point to your repository!
3. Done!

Arguments:

-d | Downloads the patch file, but doesn't install it.
-h | Displays this.
-u[path] | Updates from a .update file (DOES NOT SUPPORT KPKG)
-c[commit] | Updates to a certain commit/release (Overrides the update mode)
-m[c or r] | Changes updating mode to commit/release, respectively

Screenies: Do you really need any? The only visual thing it does is say "Downloading file 'blah'…"

Click me to go to the github repository

pastebin run FuZVbYm9

You COULD use it as an installer, either by setting the .commit file to the inital commit, or by modifying the code.
It can also be used for non-supported OSes that use github, if you set up the .commit file properly

I only ask you credit me if you include this

This has ElvishJerricco's JSON API built into it