Re: [Feature Request] Shell script hooks should receive the project's root directory as an argument

2013-03-25 Thread Filip Maj
Good call, should be easy to add. On 3/25/13 8:54 PM, "Kerri Shotts" wrote: >Correct me if I'm wrong, but it doesn't look like there's any (simple) >way to get the project's root directory if the hook is a shell script. >When I echo $#, I have 0 incoming arguments, and so my script is >currently

[Feature Request] Shell script hooks should receive the project's root directory as an argument

2013-03-25 Thread Kerri Shotts
Correct me if I'm wrong, but it doesn't look like there's any (simple) way to get the project's root directory if the hook is a shell script. When I echo $#, I have 0 incoming arguments, and so my script is currently limited to throwing an error if the cordova-cli isn't executed from an expected