CLI for beautifully printing JSON data in terminal.
--- project work in progress ---
Pipe JSON right into clison:
echo '[
{ "firstname": "Alice", "lastname": "Smith", "age": 30 },
{ "firstname": "Bob", "lastname": "Johnson", "age": 25 },
{ "firstname": "Charlie", "lastname": "Brown", "age": 35 }
]' | python -m clison.clior provide JSON from file:
python -m clison.cli -f ./example.jsonAnother example using cURL:
curl -X GET "https://dummyjson.com/posts" | python -m clison.cli -p "$.posts"