small cli tool to print json file objects
$ ppjson --help
USAGE:
ppjson [OPTIONS] [--] [ARGS]
ARGS:
<INPUT_JSON_FILE> a json file
<KEY> key
OPTIONS:
-d, --delimeter <DELIMETER> set key delimeter
-h, --help Print help information
-k print keys
-t format as table
-V, --version Print version information
$ ppjson package.json scripts
{
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}
- Rust
- tabled for table formatting
make build
make install # sudo if linux
You can add the following to .zshrc or .bashrc to print scripts be deafult for command pp
alias pp="ppjson package.json scripts"