tmpin alternatives and similar modules
Based on the "Command Line Apps" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of tmpin or a related project?
Add stdin support to any CLI app that accepts file input
It pipes stdin to a temp file and spawns the chosen app with the temp file path as the first argument.
$ npm install --global tmpin
$ tmpin --help Usage echo <string> | tmpin <app> [<args>] Example git diff | tmpin atom Note that the first argument to <app> will be set to the temp file
Create an alias in your
alias atom='tmpin atom' # Or more specific alias gda='git diff | tmpin atom'
MIT © Sindre Sorhus
*Note that all licence references and agreements mentioned in the tmpin README section above are relevant to that project's source code only.