bmatsuo / jqsh

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

Semantics of :exec and :sh is not immediately clear #18

Closed bmatsuo closed 10 years ago

bmatsuo commented 10 years ago

The difference between :exec and :sh is subtle and confusing. The commands either need to be literally the same command with different flags or they need to more explicit in their name about the direction things get piped.

The idea of them being the same command is interesting because you could potentially pipe something out to a command and back into jqsh. It is somewhat complex because some commands cannot have their output cached (it is too large).

bmatsuo commented 10 years ago

The new command "pipe" replaces "exec" and "sh"

eb0f202a561e597722fcf9e37f1b4c45cc321fea