all repos — py-vite @ 98a545e0b67327ba7f793ca33dcc8e6da2231f25

the original vite, written in python

fix: hacky workaround for args
icyphox icyph0x@protonmail.com
Thu, 15 Mar 2018 23:57:41 +0530
commit

98a545e0b67327ba7f793ca33dcc8e6da2231f25

parent

b64b16fc124dfaf6296866081c83f3fa074574af

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M quentin.pyquentin.py

@@ -3,7 +3,8 @@ import sys

import argparse parser = argparse.ArgumentParser(description='A simple and mnml static site generator.') -parser.add_argument('new', help='Create a new project.') +parser.add_argument('action', choices=['new'], help='Create a new project.') +parser.add_argument('path', nargs='*') if len(sys.argv) == 1: parser.print_help()