Minor tweaks for more convenient command line. Primarily for developer use when repeatedly testing:
--inputDir may be abbreviated -i; arg may be relative path.
--outputDir may be abbreviated -o
--operation may be omitted, defaults to convert
--quiet, -q [new option] suppresses prompts and does not zip or upload
Also CHANGES output naming:
outputDir if omitted defaults to ${inputDir}-out
zip file named as ${outputDir}.zip
Together this makes it possible to type simply
npm run start -- -i courseDir
to convert a course, leaving courseDir-out and optionally courseDir-out.zip file alongside courseDir in directory tree and
npm run start -- -qi courseDir
to convert only without prompting for input.
Minor tweaks for more convenient command line. Primarily for developer use when repeatedly testing:
--inputDir may be abbreviated -i; arg may be relative path.
--outputDir may be abbreviated -o
--operation may be omitted, defaults to convert
--quiet, -q [new option] suppresses prompts and does not zip or upload
Also CHANGES output naming: outputDir if omitted defaults to ${inputDir}-out zip file named as ${outputDir}.zip
Together this makes it possible to type simply
npm run start -- -i courseDir
to convert a course, leaving courseDir-out and optionally courseDir-out.zip file alongside courseDir in directory tree andnpm run start -- -qi courseDir
to convert only without prompting for input.