-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Plugin hook for adding new output formats #578
Comments
The main blocker here is coming up with a design. The challenge is cleanly integrating it with the existing format options: sqlite-utils/docs/cli-reference.rst Lines 114 to 132 in 8bee145
I'd like to avoid breaking backwards compatibility. The most obvious solution is to add a Or... If I ever do release |
I'm currently leaning very slightly towards |
A related feature would be support for plugins to add new ways of ingesting data - currently |
This is my goal, to have one plugin that handles input and output symmetrically. I'd like to be able to do something like this: sqlite-utils insert data.db table file.geojson --format geojson
# ... explore and manipulate in Datasette
sqlite-utils query data.db ... --format geojson > output.geojson This would work especially well with datasette-query-files, since I already have the queries I need saved in standalone SQL files. |
I wonder if this should be two hooks: input and output. The current |
https://discord.com/channels/823971286308356157/997738192360964156/1133076679011602432
The text was updated successfully, but these errors were encountered: