Intro
For our first two weeks in OSD600 we had to build a command line tool to generate html given text files. The requirements are as follows:
1. Options -h and -v flag are used to display help and version of the program
2. Mandatory -i specify file input or file folder - I implemented the option to recursively go through the folder as well as nested folders
3. Generate properly ,html files, where I always have a main index.html file plus zero or more *.html files
Usage
1. clone the repository with git clone or download the .zip then unzip
2. Install node version 16 on your machine
3. Go to your folder
4. Run npm install -g .
5. for the command line tool run sggy -i <name of file or folder>
No comments:
Post a Comment