Add command-line parsing to Spark driver instead of relying on generator's CLI driver