Mercurial > treepkg
comparison bin/treepkginfo.py @ 392:e2afbd3c2bf1 treepkg-status
write first info about tracks
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Thu, 08 Jul 2010 16:11:13 +0000 |
parents | |
children | 04310ad0063e |
comparison
equal
deleted
inserted
replaced
391:89ecca5d262e | 392:e2afbd3c2bf1 |
---|---|
1 #! /usr/bin/python | |
2 # Copyright (C) 2010 by Intevation GmbH | |
3 # Authors: | |
4 # Bjoern Ricks <bjoern.ricks@intevation.de> | |
5 # | |
6 # This program is free software under the GPL (>=v2) | |
7 # Read the file COPYING coming with the software for details. | |
8 | |
9 """Receive the status of a treepkg""" | |
10 | |
11 import treepkgcmd | |
12 | |
13 from treepkg.info import status | |
14 | |
15 from treepkg.options import create_parser | |
16 | |
17 def parse_commandline(): | |
18 parser = create_parser() | |
19 | |
20 return parser.parse_args() | |
21 | |
22 def main(): | |
23 options, args = parse_commandline() | |
24 | |
25 tpkginfo = status.TreepkgInfo(options.config_file) | |
26 | |
27 main() |