From f339bf56135314777b1e538ee5a0ab3e6c3bc89d Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 4 Nov 2015 17:11:00 -0800 Subject: [PATCH] .source pull --- plugins/source.py | 5 +++++ 1 file changed, 5 insertions(+) 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"