Closed alfski closed 3 months ago
Use one of the getopt node libraries to add support for command-line parameters/arguments when running generate.js
eg. ./generate.js --startDate="2024-05-06" --weeks=12
if weeks isn't specified can default to 16. check weeks is a reasonable number, say integer between 1 & 52
if startDate isn't specified... can just use a hard-coded default.
The startDate and roster length should probably be printed to console when generate is run.
Use one of the getopt node libraries to add support for command-line parameters/arguments when running generate.js
eg. ./generate.js --startDate="2024-05-06" --weeks=12
if weeks isn't specified can default to 16. check weeks is a reasonable number, say integer between 1 & 52
if startDate isn't specified... can just use a hard-coded default.
The startDate and roster length should probably be printed to console when generate is run.