0.0.14 • Published 3 years ago

cli-json-edit v0.0.14

Weekly downloads
17
License
ISC
Repository
github
Last release
3 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

3 years ago

0.0.13

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago