Advertisement
BruceWplays

update command Github edition

Feb 18th, 2023
997
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. local args = {...}
  2.  
  3. if fs.exists("AndysPrograms/api/git/git") == false then
  4.     fs.makeDir("AndysPrograms/api/git")
  5.     shell.run("cd","AndysPrograms/api/git")
  6.     shell.run("pastebin","get","WPg3HSiU","git")
  7.     shell.run("cd ","//")
  8. end
  9. os.loadAPI("AndysPrograms/api/git/git")
  10.  
  11. args[6] = shell.dir()
  12. shell.run("delete", arg[2])
  13. -- shell.run("pastebin"," get ",arg[1], arg[2])
  14. git.get(args)
  15. shell.run(arg[2])
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement