mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2025-02-06 09:29:11 +00:00
95b9cb1469
* 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
440 B
440 B
ACCPTST:STDIO_REPLACE_DATETIMES
{datetime} UTC [ info] arg_i: 5
{datetime} UTC [ info] - simple_input
{datetime} UTC [ info] - input_in_quotes
{datetime} UTC [ info] - input with spaces
{datetime} UTC [ info] - input with "quotes"
{datetime} UTC [ info] - last_input
{datetime} UTC [ info] arg_x: 3
{datetime} UTC [ info] arg_x: 4
{datetime} UTC [ info] arg_i: 5
{datetime} UTC [ info] - simple_input
{datetime} UTC [ info] - input_in_quotes
{datetime} UTC [ info] - input with spaces
{datetime} UTC [ info] - input with "quotes"
{datetime} UTC [ info] - last_input
{datetime} UTC [ info] arg_x: 3
{datetime} UTC [ info] arg_x: 4