This issue is blocked on #3 and will be moved to the new repo once created.
No need to get fancy, just take as positional parameters for now. Assume current bash (input) and dist (output) if no arguments given. I believe the following will allow the script to take one or two arguments.
SRC=${1:-src/}
DIST=${2:-dist/}
Throw in a basic 'print usage and exit' that prints out if more than two arguments given.
Update unit tests to test:
- defaulting values build as expected,
- only src specified build, and
- both specified.
This issue is blocked on #3 and will be moved to the new repo once created.
No need to get fancy, just take as positional parameters for now. Assume current
bash(input) anddist(output) if no arguments given. I believe the following will allow the script to take one or two arguments.Throw in a basic 'print usage and exit' that prints out if more than two arguments given.
Update unit tests to test: