Accept multiple arguments with -c ?
glenjamin opened this issue · comments
I'm not entirely sure if this is a feature request or a bug. I had a look through the existing issues but didn't manage to spot anything discussing this before.
At the moment npm -c
takes arguments like so:
npx [options] -c '<command-string>'
This means that
npx -c echo 1
produces nothing and silently drops the "1" argument
Because the correct incantation is
npx -c "echo 1"
Could -c
be expanded to take all of the arguments passed after it into a shell command?