This package has been deprecated

Author message:

end of development

json-flag

0.0.6 • Public • Published

json-flag

styled with prettier npm version

Install

npm i -g json-flag
# No need to use `npx` 

Usage

Prepare .json (strictly json5). For example, create it as example.json,

{
  "string": "foo",
  "number": 1,
  "array-string": [
    "foo",
    "bar",
    "baz"
  ],
    "object": {
        "foo": "bar"
    }
}
 

Pass this .json to the command. Then,

json-flag ./example.json
# --string foo --number 1 --array-string foo,bar,baz 

Help

json-flag --help

Readme

Keywords

none

Package Sidebar

Install

npm i json-flag

Weekly Downloads

0

Version

0.0.6

License

MIT

Last publish

Collaborators

  • nju33