cmd-ssg
deliverable 0.1 for OSD600 open source course at seneca
#
Description: command-line-static site tool#
Prerequisite for development#
Screen Shot#
How to Use#
FEATURES- cmd-ssg
- github repo created
- MIT license chosen
- create README.md - keep it updated as you write your code, documenting how to use your tool, which features you include, etc. Your README file should tell users how to use your tool.
- choose Javascript/Node.js language
- running the tool with --version or -v flag will print the tool's name and current version
- running the tool with --help or -h flag should print standard help/usage message also showing how to run the tool, which command line flags and arguments can be used, etc.
- specify input file or folder with --input or -i
- generate one .html output file for each input file NOTE : the original txt files should not be modified
- need to deal with marking-up paragraphs: every blank line should be considered a paragraph limit and the text transformed into < p>
- your tool should place all output into a ./dist folder by default
- input can be deep within the files such as .\test\test2\
- parse a title from your input files
- adding -s stylesheet option
- making it easy on the eyes
- proper error message if incorrect file/folder inputs
- accept a json file to pass options from the file