bmatsuo / jqsh

An interactive wrapper to the jq command line utility
MIT License
23 stars 2 forks source link

switching inputs does not reset the filter #14

Closed bmatsuo closed 10 years ago

bmatsuo commented 10 years ago

The filter stack should not persist after a command like :exec curl http://localhost/puppies. This can be confusing if the new input does not have the same schema. You just see null (or worse, a huge stream of nulls).

There should be an option -k on relevant commands to keep the filter stack after switching inputs.

bmatsuo commented 10 years ago

fixed

f76890f1c4742e898d0a788d4a9016472e7c78a1