Releases: hattan/shArg
Releases · hattan/shArg
Bugfix: Dashes in value
This change adds the ability to have parameter values with dashes. ./myscript.sh --resource-group my-group
Support for space delimited lists and equality assignment
- Parsing now supports space delimited lists, just like csv. For example you can now pass the following list parameter and it will be converted into a bash array.
./myscript.sh -i 123 345 #results in {123,345}
- Assign via equality is possible by using the syntax name=value
./myscript.sh --message=helloworld
- Refactored shArg.sh to smaller, more maintainable functions.
- Moved specs to unit folder and added integration tests and harness.
0.2.0 Release - Added support for csv inputs
This release adds the ability to pass csv inputs and have them automatically converted into bash arrays.