vkyweb/vkyweb.py

20 lines
514 B
Python

#!/usr/bin/env python
# Copyleft (c) 2016 Cocobug All Rights Reserved.
import argparse
from generator import *
parser = argparse.ArgumentParser(description='Website on-the-fly & static generator')
subparsers = parser.add_subparsers(help='Commands')
# create the parser for the "a" command
#parser_a = subparsers.add_parser('a', help='a help')
#parser_a.add_argument('bar', type=int, help='bar help')
s=tree_parser.makeWebsite("sites/example_website")
container=model.makeContainer(s)
s.print_webtree(" > ")