Skip to content

support for pipes with .once #192

@danp

Description

@danp

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:

.mode markdown
.once | pbcopy
select foo from bar;

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions