Well, I got this made but it is looking like too much effort to be
mainstream. Works nicely for my mods though.
And ohh ya, it is super awsome whatnot ;)
http://pastebin.ubuntu.com/6202565/



On Tue, Oct 1, 2013 at 12:03 PM, Robert Steckroth <[email protected]
> wrote:

> Scratch that, using parseArgs() in my module causes all other usage to
> break. My question was supposed to be: do I have to do this the hard way?
>
>
> On Tue, Oct 1, 2013 at 11:58 AM, Robert Steckroth <
> [email protected]> wrote:
>
>> I would like to use arparse with a module. This becomes a problem when
>> a parseArgs() is global with the global process object. Does anyone have a
>> solution as to how I might ignore any flags which I do not need in
>> the process arguments. I would think that a simple "ignore undefined" like
>> functionality would suffice but I could not find it in the docs.
>>
>> E.g. running parseArgs() in the module will use all flags and spit out a
>> error if any were not defined but used in the main application.
>>
>>
>>
>> --
>> <surgemcgee> Systems/Software Engineer
>>
>>
>>
>>
>
>
> --
> <surgemcgee> Systems/Software Engineer
>
>
>
>


-- 
<surgemcgee> Systems/Software Engineer

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to