all repos — py-vite @ b64b16fc124dfaf6296866081c83f3fa074574af

the original vite, written in python

quentin.py (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
import markdown2
import sys
import argparse

parser = argparse.ArgumentParser(description='A simple and mnml static site generator.')
parser.add_argument('new', help='Create a new project.')

if len(sys.argv) == 1:
    parser.print_help()
    sys.exit(1)

args = parser.parse_args()
print(args)