-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for pipes with .once #192
Comments
I'm so sorry. 😂 Reminds me of the time I tricked my friend into deleting his home folder by doing Back to your request. This is possible (and probably easy). We have this in mycli. If you are feeling generous you can take a crack at a PR for litecli. |
Mostly copied from mycli. Add tests for once as part of getting that going. Updates dbcli#192
Mostly copied from mycli. Add tests for once as part of getting that going. Updates dbcli#192
😬 All good! I don't do a lot of python but gave it a try at #193. |
Mostly copied from mycli. Add tests for once as part of getting that going. Updates dbcli#192
Hey, thanks for this project!
When I use the official sqlite3 CLI I use
.once
's pipe support quite a bit:https://sqlite.org/cli.html#writing_results_to_a_file
This means I can do something like:
Then end up with the output in markdown in my clipboard (on macOS), ready to paste somewhere (like GitHub).
I discovered litecli's
.once
doesn't support this, so I ended up with a file named| pbcopy
.Supporting pipes like this in litecli would be a nice addition.
The text was updated successfully, but these errors were encountered: