0.0.14 • Published 4 years ago

cli-json-edit v0.0.14

Weekly downloads
17
License
ISC
Repository
github
Last release
4 years ago

This CLI let you manipulate json files.

Usage: json-edit-cli [options] [command]

Options:

-V, --version        output the version number

-h, --help           display help for command

Commands:

set [options]        set string or number value to specific key in json file
set-array [options]  set array value to specific key in json file
unset [options]      unset value of specific key in json file
help [command]       display help for command

Examples:

  • json-edit-cli set -f './file.json' -k 'name' -v 'Joe Doe'

  • json-edit-cli set -f './file.json' -k 'personal.firstName' -v 'Doe'

  • json-edit-cli set -f './file.json' -k 'age' -v 30

  • json-edit-cli set-array -f './file.json' -k 'interests' -v 'bicycle,football'

  • json-edit-cli unset -f 'file.json' -k 'interests'

0.0.14

4 years ago

0.0.13

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.12

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.5

5 years ago

0.0.6

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago