diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/treepkginfo.py	Thu Jul 08 16:11:13 2010 +0000
@@ -0,0 +1,27 @@
+#! /usr/bin/python
+# Copyright (C) 2010 by Intevation GmbH
+# Authors:
+# Bjoern Ricks <bjoern.ricks@intevation.de>
+#
+# This program is free software under the GPL (>=v2)
+# Read the file COPYING coming with the software for details.
+
+"""Receive the status of a treepkg"""
+
+import treepkgcmd
+
+from treepkg.info import status
+
+from treepkg.options import create_parser
+
+def parse_commandline():
+    parser = create_parser()
+ 
+    return parser.parse_args()
+
+def main():
+    options, args = parse_commandline()
+
+    tpkginfo = status.TreepkgInfo(options.config_file)
+
+main()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)