wellsjo / JSON-Splora

GUI app for editing, visualizing, and manipulating JSON data
MIT License
1.86k stars 60 forks source link

Add arguments to command line utility #54

Closed wellsjo closed 7 years ago

wellsjo commented 7 years ago

Right now we can open from the command line with jsplora. We should also allow for arguments. For example: jsplora <file> jsplora --input "<json object>" jsplora --input "<json object>" --filter "<filter-string>"

yschimke commented 7 years ago

I suggest a flag also to control between strict jq and javascript modes.

wellsjo commented 7 years ago

@yschimke The way the app is currently constructed, jq and javascript filters are mutually exclusive, as they are abstracted into a single filter function. There isn't a way to choose one or the other.