RC-Lee / SiteGen

Static Site Generator
MIT License
0 stars 3 forks source link

Support --config with Config File #14

Closed TueeNguyen closed 3 years ago

TueeNguyen commented 3 years ago

Fixes #13

Adding a block of conditional code. Checking if config path is provided, then reading the options from the file.

If option -c or --config exists, other options are ignored!

RC-Lee commented 3 years ago

Hi, thanks for the PR. I'd like it if you could be consistent with console errors and process exits.