mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2025-02-11 11:25:17 +00:00
* 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
10 lines
440 B
Plaintext
10 lines
440 B
Plaintext
ACCPTST:STDIO_REPLACE_DATETIMES
|
||
{datetime} UTC [32m[ info][0m arg_i: 5
|
||
{datetime} UTC [32m[ info][0m - simple_input
|
||
{datetime} UTC [32m[ info][0m - input_in_quotes
|
||
{datetime} UTC [32m[ info][0m - input with spaces
|
||
{datetime} UTC [32m[ info][0m - input with "quotes"
|
||
{datetime} UTC [32m[ info][0m - last_input
|
||
{datetime} UTC [32m[ info][0m arg_x: 3
|
||
{datetime} UTC [32m[ info][0m arg_x: 4
|