Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/pull
blob: 0900295e43c09fed03e8b771c1caa64522eadf71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()