Adrien Becchis
e5db2ef6d7
Argv store separator ( #291 )
...
* argv store now accept a separator argument to create nested values
* remove stub file that shouldnt have been commited
* write a test to ensure separator is working well and use delete rather than undefined assign
2017-11-04 21:30:14 -04:00
Adrien Becchis
2bdf7e1a32
Clean Argv Store options ( #290 )
...
* unset parse/transform from options and ensure they are not yargs options
* use delete rather than undefined assignement
2017-11-03 23:41:23 -04:00
AdrieanKhisbe
802a8d623f
test for yargs custom instance (more flexible check isYargs)
2017-10-28 17:13:38 -04:00
Nicolas Deveaud
3e26bb2756
Add posibility to pass a yargs instance to argv() method
2017-10-28 17:13:38 -04:00
Matt Hamann
856fdf8dff
First pass at transform functions ( #279 )
2017-10-25 22:57:58 -04:00
Matt Hamann
532ac9cc57
Support parsing simple values from env/argv strings ( #273 )
...
* simple parse, indexzero/nconf#72
* documentation for tryParse option
* Combine JSON parsing and simple parsing
2017-10-21 15:39:16 -04:00
Christian Murphy
5d95f13eb0
filter out undefined values
2015-08-19 09:16:16 -07:00
Christian Murphy
80ec01b91d
replace optimist with yargs
2015-07-07 13:06:41 -07:00
indexzero
af0e9fb7e7
[dist fix] Cleanup some whitespace.
2014-11-26 01:31:48 -05:00
Johnny Domino
b73b0e1a37
attach help and showHelp arguments to the argv store
2013-02-23 12:33:23 -05:00
Johnny Domino
4894c8fcf7
resolves #64 passing usage string to optimist
2013-02-23 12:32:42 -05:00
Pavan Kumar Sunkara
29eb5f905d
[minor] Fix whitespaces
2012-04-15 00:58:55 +05:30
indexzero
6c720ee109
[dist] Update Copyright and Author to Nodejitsu Inc.
2011-11-24 00:33:08 -05:00
indexzero
16a18bffe6
[refactor] Expose all store prototypes on nconf.*
. Expose store instances on Provider.stores and Provider.sources
2011-11-24 00:29:43 -05:00
indexzero
78ce55602f
[minor] Dont allow .set()
calls to change values in readOnly stores: argv, env, and literal
2011-11-24 00:29:35 -05:00
indexzero
c3c315d648
[refactor] Refactor to make using nconf more fluent.
2011-11-24 00:29:15 -05:00