Pretty format all your json files at once in place with three characters
Project description
jpf
Pretty format all your json files at once in place with three characters
Usage
jpf
Just typing in the three magic characters will pretty format all your *.json
files in the current folder and all subfolders.
Since the command is recursive jpf
should be used with caution.
Options
jpf
comes with some options to further customise the formatting of your files:
argument | short | default | function |
---|---|---|---|
--help |
-h |
show this help message and exit | |
--indent |
-i |
4 | format files with that indent level |
--sort-keys |
-s |
False | decide whether jpf should sort the keys |
Installation
jpf
is as very simple to install using pip:
pip install jpf
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jpf-0.2.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
jpf-0.2.0-py3-none-any.whl
(2.9 kB
view hashes)