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.
Here is a test bed for file based configuration.
It will merge the results of
require()
ofoptions.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.