diff --git a/plugins/source.py b/plugins/source.py index 43381af..8ea2639 100644 --- a/plugins/source.py +++ b/plugins/source.py @@ -1,5 +1,10 @@ +import os + from util import hook @hook.command def source(inp): + if inp == "pull": + os.system("git pull") + return "updating..." return "my source code: https://git.xeserv.us/xena/h"