Browse Source

Added onset docs

develop
Corey Hart 1 year ago
parent
commit
17c20cd890
  1. 3
      README.md
  2. 3
      package.json

3
README.md

@ -41,6 +41,9 @@ argv.option({
type: "string",
description: "Defines an option for your script",
example: "'script --option=value' or 'script -o value'",
onset: function (args) {
args; // Object of current arguments parsed
},
});
```

3
package.json

@ -1,9 +1,10 @@
{
"name": "argv",
"version": "0.0.3",
"description": "CLI Argument Parser",
"author": "Corey Hart <[email protected]>",
"version": "0.0.3",
"main": "./index.js",
"license": "MIT",
"homepage": "http://codenothing.github.com/argv/",
"repository": {
"type": "git",

Loading…
Cancel
Save