https://github.com/perimosocordiae/instapipe
Quickly iterate on complex shell commands.
https://github.com/perimosocordiae/instapipe
pipe shell terminal
Last synced: about 2 months ago
JSON representation
Quickly iterate on complex shell commands.
- Host: GitHub
- URL: https://github.com/perimosocordiae/instapipe
- Owner: perimosocordiae
- License: mit
- Created: 2015-07-14T06:58:42.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-07-13T00:28:55.000Z (almost 10 years ago)
- Last Synced: 2025-02-09T18:49:09.433Z (over 1 year ago)
- Topics: pipe, shell, terminal
- Language: Python
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Insta-pipe
Quickly iterate on complex shell commands.
Edit commands in the top pane, and each time you press enter the
first n lines will appear in the preview pane.
## TODO
- Avoid blocking until the command completes, by reading the `Popen` pipe
line by line. (Will require a working `flush`).
- Do some basic caching to avoid recomputing repeated results.
- If the user exits with ctrl-D, insert the final command into their
shell session somehow. (Paste buffer?) For now, we just print it.
## Known Issues
- all backends
* terminal color escape codes aren't supported in the output frame.
- `curses` backend
* If you press enter with an empty input pane, instapipe exits.
* Instant mode isn't supported.