withArgs package:optparse-enum

making an IO parser, specifying the arguments