Our great sponsors
-
ssg-cli-tool
A command-line interface SSG tool used for generating a complete HTML web site from raw data and files.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I continued working on my Static Site Generator and decided to add two more features. I created issues for each feature that I wanted to add.
To accomplish this task, I added a new option using the yargs module. This allows me to read whatever the user inputs after using -l/--l. Following this, I added a conditional statement that defaults to en-CA whenever a language code is not inputted.