The main feature of the new version, based on a lot of feedback and numerous ideas, is a change of the default mode: you must now Press Enter to execute the pipeline built in up. This is a safety measure and fixes #8. The old behavior is still available, but must be enabled with a command-line flag --unsafe-full-throttle
. This may however get removed in future — the Enter mode seems to be working well enough. If you are really using this mode, please let me know by opening an issue or sending an email/keybase message, so that I will try to keep it. Also if you are interested in adding a feature to dynamically switch the modes (I'm not so sure now if I see a need to add it anymore).
This release also comes with binaries for more OSes, but please note that Linux is my main focus point, and I don't have means to test other platforms, so they're (even more than Linux) experimental, and may need help from interested contributors (read: you) for maintenance. If you would like me to add a binary for some other OS supported by Go, please let me know. I can send you a binary for testing first if you don't want to compile by yourself.
Full list of changes
- [Fix #8] Execute the pipeline only when Enter is pressed.
- Add option
-o $FILE
to allow saving the script to custom file. This may be useful especially to zsh users for some magic tricks (thanks u/attrigh for the idea!) - Improve saving of the pipeline. When quitting with Ctrl-C, the pipeline is now printed to stderr. When exiting with Ctrl-X, if file fails to save (e.g. in readonly directory), an attempt is made to save the script in /tmp. If it fails too, the pipeline is printed to stderr.