Legacy CLI to handle sketch paths with spaces. by toniab · Pull Request #1162 · processing/processing4
Resolves: Issue #1138
Changes: Using arguments.multiple() to pass the argument strings to Commander rather than defining each argument as a Clikt val in advance.
Tests: The following configs worked.
- run --args='cli --sketch="/Users/tonz/Documents/Processing/test space/sketch_Test" --run'
- run --args='cli --help'
Warning: When testing changes to this file, if you run into an error, try running:
rm -rf /[ YOUR REPOSITORY PATH ]/app/build/compose/tmp
Question: Should we nicely handle if they did not specify a required argument? Right now it errors out if no sketch is passed.