all repos — py-vite @ a5c33b1b562c4ebdef95641d300a0e5d679516c6

the original vite, written in python

style: customize help message
Anirudh icyph0x@protonmail.com
Sat, 14 Apr 2018 22:30:43 +0530
commit

a5c33b1b562c4ebdef95641d300a0e5d679516c6

parent

bfe307ad607a9e3aa485a67bf940621323e93704

1 files changed, 4 insertions(+), 3 deletions(-)

jump to
M vite.pyvite.py

@@ -11,13 +11,14 @@ import os

from huepy import * +usage = """ + vite.py new [PATH] + """ parser = argparse.ArgumentParser(description=""" A simple and minimal static site generator. - """) + """, usage=usage) parser.add_argument('new', nargs='*',help='Create new Vite project.') -print(parser.parse_args()) # TODO: add help for each action -# parser.add_argument('path', nargs='*') if len(sys.argv) == 1: parser.print_help()