|
| 1 | +creating user files in src |
| 2 | +skipped src/root_command.sh (exists) |
| 3 | +created ./cli |
| 4 | +run ./cli --help to test your bash script |
| 5 | ++ ./cli --user=admin -p=secret -- --region=us-east-1 -static |
| 6 | +# this file is located in 'src/root_command.sh' |
| 7 | +# you can edit it freely and regenerate (it will not be overwritten) |
| 8 | +args: |
| 9 | +- ${args[--password]} = secret |
| 10 | +- ${args[--user]} = admin |
| 11 | + |
| 12 | +other_args: |
| 13 | +- ${other_args[*]} = --region=us-east-1 -static |
| 14 | +- ${other_args[0]} = --region=us-east-1 |
| 15 | +- ${other_args[1]} = -static |
| 16 | ++ BASHLY_CONJOINED_FLAG_ARGS=no |
| 17 | ++ bundle exec bashly generate |
| 18 | +creating user files in src |
| 19 | +skipped src/root_command.sh (exists) |
| 20 | +created ./cli |
| 21 | +run ./cli --help to test your bash script |
| 22 | ++ ./cli --user admin -p secret --region=us-east-1 |
| 23 | +# this file is located in 'src/root_command.sh' |
| 24 | +# you can edit it freely and regenerate (it will not be overwritten) |
| 25 | +args: |
| 26 | +- ${args[--password]} = secret |
| 27 | +- ${args[--user]} = admin |
| 28 | + |
| 29 | +other_args: |
| 30 | +- ${other_args[*]} = --region=us-east-1 |
| 31 | +- ${other_args[0]} = --region=us-east-1 |
| 32 | ++ ./cli --user admin -p secret -- --region=us-east-1 -static |
| 33 | +# this file is located in 'src/root_command.sh' |
| 34 | +# you can edit it freely and regenerate (it will not be overwritten) |
| 35 | +args: |
| 36 | +- ${args[--password]} = secret |
| 37 | +- ${args[--user]} = admin |
| 38 | + |
| 39 | +other_args: |
| 40 | +- ${other_args[*]} = --region=us-east-1 -static |
| 41 | +- ${other_args[0]} = --region=us-east-1 |
| 42 | +- ${other_args[1]} = -static |
| 43 | ++ ./cli --user=admin -p=secret -- --region=us-east-1 -static |
| 44 | +missing required flag: --user, -u NAME |
0 commit comments