Crates.io | prettyjson |
lib.rs | prettyjson |
version | 0.1.2 |
source | src |
created_at | 2019-12-11 17:09:14.17718 |
updated_at | 2019-12-11 17:16:35.788846 |
description | PrettyJSON |
homepage | |
repository | https://github.com/jht5945/prettyjson |
max_upload_size | |
id | 188471 |
size | 23,920 |
prettyjson - command line JSON format tool.
cargo install --git https://github.com/jht5945/prettyjson
$ prettyjson --help
Usage:
prettyjson [OPTIONS] [FILE]
prettyjson - command line JSON pretty tool.
Positional arguments:
FILE FILE
Optional arguments:
-h,--help Show this help message and exit
-w,--tab-width TAB_WIDTH
Tab width, default 4
-v,--version Print version
$ echo '{"k": "value"}' | prettyjson
{
"k": "value"
}