Closed Vexatos closed 10 years ago
I really want you to test this before this gets accepted.
Testing it isn't our responsibility, it's yours. Please test it and come back when you know that it works okay.
For me it works perfectly, I just wanted to be sure. I have seen no problems with any of the four variations/commands. So, if you think it's okay when I say it is working, accept this.
I trust that all variations of the syntax have been checked.
Please test this before you accept this PR!
This is a program equal to pastebin, which lets you get files from github and store them in your Computer. Usage is explained ingame: Usage: github get username/repo/branch/restOfPath 'nameOfNewFile'
You could test that with the pastebin program inside CC I uploaded to github: https://raw.github.com/Vexatos/ComputerCraft-Programs/master/Main/utils/pastebin.lua
So you can test github get Vexatos/ComputerCraft-Programs/master/Main/utils/pastebin.lua pastebinTest Another spelling is possible: github get Vexatos ComputerCraft-Programs master Main/utils/pastebin.lua pastebinTest
Then there is also the run function: github run Vexatos/ComputerCraft-Programs/master/Main/utils/pastebin.lua 'anyMoreArguments' github runPart Vexatos ComputerCraft-Programs master Main/utils/pastebin.lua 'anyMoreArguments' That had to be 2 different functions because there is no specific number of Arguments per command.
Also, there is a "github help" command. Please give your opinion about this.