Skip to content

Releases: hattan/shArg

Bugfix: Dashes in value

08 Mar 21:10
c3c9744
Compare
Choose a tag to compare
Pre-release

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

08 Mar 07:54
6d56f52
Compare
Choose a tag to compare
  • 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

07 Mar 22:39
26a6195
Compare
Choose a tag to compare

This release adds the ability to pass csv inputs and have them automatically converted into bash arrays.

v 0.1.0

25 Jan 04:28
Compare
Choose a tag to compare
v 0.1.0 Pre-release
Pre-release

Initial release with basic functionality