Commits

Luke Arno committed eb6560b

updated --version output of CLI and added more docstrings

Comments (0)

Files changed (1)

 
 
 def run():
-    parser = OptionParser(usage=run_usage, version="haus run 0.0.1")
+    """Run a haus app under wsgiref."""
+    parser = OptionParser(usage=run_usage, version="haus run 0.0")
     parser.add_option('-c', '--configs', dest='config',
                       help='Haus configuration files (comma separated).')
     parser.add_option('-r', '--reload', dest='reload', 
 
 
 def init():
-    parser = OptionParser(usage=init_usage, version="haus init 0.1")
+    """Initialize a directory as a Haus project."""
+    parser = OptionParser(usage=init_usage, version="haus init 0.0")
     options, args = parser.parse_args()
     if len(args) == 1:
         package_name = args[0]
 
 
 def command():
+    """Just fire main() and exit."""
     sys.exit(main())
 
 
 if __name__ == '__main__':
     command()
+