Posted 20 January 2014 - 10:07 AM
This program is a very simple and quick way to download files off of GitHub
Just run: pastebin get V2pQK64w github
or if you want the API: pastebin get 2Bzjhx8h <your program's name>, then just write your program under the API
Commands (currently only one):
github get <user> <repo> <branch> <path> <topath>
API functions(currently only one):
gitGet(user, repo, branch, path, toPath) -returns false if download failed, true if it worked
Changelog:
-Initial release
1.1:
-Optimized Code
1.2
-Released API version of this
-Made it so that if toPath is not given, it equals path
1.3
-Added Support for standard computers
-Made all functions local
Note: I would love to have it be able to push commits, post bugs, etc. But I have no idea if it's possible without the OAuth API, let alone how to do it, so if you have an idea, please post it below.
Just run: pastebin get V2pQK64w github
or if you want the API: pastebin get 2Bzjhx8h <your program's name>, then just write your program under the API
Commands (currently only one):
github get <user> <repo> <branch> <path> <topath>
API functions(currently only one):
gitGet(user, repo, branch, path, toPath) -returns false if download failed, true if it worked
Changelog:
Spoiler
1.0:-Initial release
1.1:
-Optimized Code
1.2
-Released API version of this
-Made it so that if toPath is not given, it equals path
1.3
-Added Support for standard computers
-Made all functions local
Note: I would love to have it be able to push commits, post bugs, etc. But I have no idea if it's possible without the OAuth API, let alone how to do it, so if you have an idea, please post it below.
Edited on 12 February 2014 - 07:30 PM