snm exec refuse more than 1 argument
bentinata opened this issue · 1 comments
bentinata commented
Reproduce
Make a sh script, run.sh
for example. And make it executable.
#!/bin/sh
printf "%s %s" "$1" "$2"
snm exec 10 -- ./run.sh 1 2
would fails with:
error: Found argument '2' which wasn't expected, or isn't valid in this context
If you tried to supply `2` as a PATTERN use `-- 2`
USAGE:
snm exec [FLAGS] [OPTIONS] <version> <binary> [args]
For more information try --help
Why would I need this?
snm exec 10 -- npm run dev
numToStr commented
Thanks for the report.
Fixed in v0.4.1