Phat0101 / Roster

https://class-connect-wrv3.vercel.app
0 stars 0 forks source link

new commandline option to specify which staffer the roster begins with #15

Closed alfski closed 5 months ago

alfski commented 5 months ago

Rather than hard coding the offset into the staff list, use a cli parameter that accepts a name and looks that up in the staff list to get the starting offset.

eg. ./generate.js --startWith="David"

Also, change the afternoon and backup offsets to be +4 and +8 from the starting counter.