Add a -e / --electiondata switch to point to a specific ElectionData directory/repo. Note - this is design wise different than an EDF but the EDF would in theory be storied in the ElectionData directory somewhere.
While here, move the argparsing to its own class to reduce code duplication (because I am guessing that the server side of the web-api will want to specify the GUID directory without doing anything confusing or bad).
Add a -e / --electiondata switch to point to a specific ElectionData directory/repo. Note - this is design wise different than an EDF but the EDF would in theory be storied in the ElectionData directory somewhere.
While here, move the argparsing to its own class to reduce code duplication (because I am guessing that the server side of the web-api will want to specify the GUID directory without doing anything confusing or bad).