yargs 4.6.0-candidate → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -762,6 +762,9 @@ Should yargs attempt to detect the os' locale? Defaults to `true`.
|
|
|
762
762
|
Tell yargs to parse environment variables matching the given prefix and apply
|
|
763
763
|
them to argv as though they were command line arguments.
|
|
764
764
|
|
|
765
|
+
Use the "__" separator in the environment variable to indicate nested options.
|
|
766
|
+
(e.g. prefix_nested__foo => nested.foo)
|
|
767
|
+
|
|
765
768
|
If this method is called with no argument or with an empty string or with `true`,
|
|
766
769
|
then all env vars will be applied to argv.
|
|
767
770
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yargs",
|
|
3
|
-
"version": "4.6.0
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "yargs the modern, pirate-themed, successor to optimist.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"files": [
|
|
@@ -69,4 +69,4 @@
|
|
|
69
69
|
"engine": {
|
|
70
70
|
"node": ">=0.10"
|
|
71
71
|
}
|
|
72
|
-
}
|
|
72
|
+
}
|