minimistjs / minimist

parse argument options
MIT License
515 stars 30 forks source link

Document dotted notation and expand tests #67

Open shadowspawn opened 1 month ago

shadowspawn commented 1 month ago

Minimist supports a dotted notation which is currently undocumented and largely untested (other than regression tests for the CVE problems introduced by the feature!).

% node index.js --foo.bar=3
{ _: [], flag: false, f: false, foo: { bar: 3 } }

Related yargs documentation: