Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/pull
diff options
context:
space:
mode:
Diffstat (limited to 'commands/pull')
-rwxr-xr-xcommands/pull18
1 files changed, 18 insertions, 0 deletions
diff --git a/commands/pull b/commands/pull
new file mode 100755
index 0000000..0900295
--- /dev/null
+++ b/commands/pull
@@ -0,0 +1,18 @@
+#!/usr/bin/python -u
+
+import argparse
+
+import common
+
+from devbot import build
+
+parser = argparse.ArgumentParser()
+parser.add_argument("module", nargs="?", help="name of the module to pull")
+args = parser.parse_args()
+
+common.setup()
+
+if args.module:
+ build.pull_one(args.module)
+else:
+ build.pull()