Replies: 2 comments
-
The use of Note that you get the exact same behavior if you use this simple bash script: #!/usr/bin/env bash
echo "$*"
Also note that the first argument to follow #!/usr/bin/env bash
echo "$*"
read input
echo "$input"
So in regards to bashly - if for some reason you must use # src/demo_command.sh
inspect_args
read input
echo "Input: $input" |
Beta Was this translation helpful? Give feedback.
0 replies
-
@DannyBen thanks for point another direction, yeah problem was in another place
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure that understand catch_all completely, but seems that something goes wrong with it. I've add a demo command to my_app which (as i guess) should collect all args and std inputs to other_args array
but when i call
my_app demo 1 2 3 <<< 4 5 6
it misses 4 in inspect_args output:Beta Was this translation helpful? Give feedback.
All reactions