Skip to content

larswaechter/clison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clison (wip)

CLI for beautifully printing JSON data in terminal.

📍 Introduction

--- project work in progress ---

🔨 Usage

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.cli

or provide JSON from file:

 python -m clison.cli -f ./example.json

Another example using cURL:

curl -X GET "https://dummyjson.com/posts" | python -m clison.cli -p "$.posts"

About

CLI for beautifully printing JSON data in terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages