-
command flags
- -v or -version : show its current version
- -h or -help : show instruction
- -i or -input: allow file or folder as input
-
create html file from input (a text file or all the text file in the input folder)
-
create html file from input (a md file or all the md file in the input folder)
- open your favorite terminal
- Make sure you are in the a1-ssg folder
- type the following command
npm i [enter]
- To see the version
node . -v
- To see the help
node . -h
-
To generate html file (example commands)
-
file name "abc.txt"
node . -i 'abc.txt'
-
folder name "abc"
node . -i abc
-
file name "abc.md"
node . -i 'abc.md'
-