dfreedm / jodoc-js

joDoc port to nodejs
http://joapp.com/#joDoc
Other
26 stars 9 forks source link

jodoc file based configuration #10

Closed drewwells closed 12 years ago

drewwells commented 13 years ago

Here is a test bed for file based configuration.

It will merge the results of require() of options.config with arguments passed via command line, preferring command line arguments to the file. The result is combination of command line arguments and file arguments.

I attached a sample file that builds jodoc-js.

This is a rewrite of drewwells/jodoc-js@0a111f4395c8dff73a5ec7408b36c2fc3923f8b9 taking in the new changes for the nopt module.

drewwells commented 13 years ago

Hmm don't know why so many commits were attached... you can see in the diff that only the last 2 commits were pulled.

dfreedm commented 12 years ago

Wow, I've let this sit for far too long.

drewwells commented 12 years ago

woot! :beer: