added command line tool

This commit is contained in:
Will McGugan 2021-08-28 16:17:58 +01:00
parent c0941251e0
commit 6910b7e12b
2 changed files with 24 additions and 31 deletions

View file

@ -86,6 +86,10 @@ Because printing JSON is a common requirement, you may import ``print_json`` fro
from rich import print_json
You can also pretty print JSON via the command line with the following::
python -m rich.json cats.json
Low level output
----------------