Command line arguments for wrapped scripts are not made available #11

wants to merge 1 commit into


None yet

3 participants

stolsma commented Sep 28, 2011

When trying to send arguments to a, in haibu-carapace, wrapped script the command line arguments specifically meant for the wrapped script where not available in the process.argv of the wrapped script.

Included is a test script showing the deficiency and a fix for the bug.


this looks like it might be a breaking change?

This line change is not needed to fix the arguments bug but exports.options is also calling hookio.cli.options and as such does the same thing. Because I don't like to have two similar actions repeated in code I just changed it to call export.options instead.

If you don't want this function changed I can revert it (as said its not needed to fix the bug...)

stolsma commented Oct 5, 2011

Whats the verdict ?? I'd like to have this issue fixed because next week I have a demo that uses arguments on carapace.... ;-)


Today is a travel day for me. I will let you know when I'm back stateside tomorrow or Friday.


Cherry-picked in 5d78926. Published in haibu-carapace@0.2.7

@indexzero indexzero closed this Oct 9, 2011
stolsma commented Oct 9, 2011

Thanks!!! :-)

@stolsma stolsma referenced this pull request in nodejitsu/haibu Mar 2, 2013

Arguments for the starting app #66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment