h2/plugins/source.py

11 lines
205 B
Python
Raw Normal View History

2015-11-29 06:42:25 +00:00
import os
from util import hook
@hook.command
def source(inp):
if inp == "pull":
os.system("git pull")
return "updating..."
2015-11-29 19:12:29 +00:00
return "my source code: https://git.xeserv.us/xena/h2"