mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2025-06-19 14:33:43 +00:00
Add support for repeatable arguments (#118)
* Add support for declaring arguments as repeatable If the usage of the argument includes the phrase "Can be repeated.", the corresponding arg_ variable will be an array containing one element per instance of the argument. * Add example and test for using repeated parameters * Add example and test for using repeated flags
This commit is contained in:
committed by
Kevin van Zonneveld
parent
ff89a1154b
commit
95b9cb1469
1
test/fixture/main-repeated.exitcode
Normal file
1
test/fixture/main-repeated.exitcode
Normal file
@ -0,0 +1 @@
|
||||
0
|
Reference in New Issue
Block a user