-
-
Notifications
You must be signed in to change notification settings - Fork 813
Closed
Description
My Datasette projects increasingly take on the following structure:
metadata.jsonwith the metadata- One or more
something.dbdatabase files - A
templates/folder with some custom templates - A
plugins/folder with some custom plugins
Then I have to run Datasette like this:
datasette *.db -m metadata.json --template-dir=templates --plugins-dir=plugins
It would be really interesting if Datasette had a special mode where you could point it at a directory with the above layout and it would automatically configure itself based on the contents.
Maybe even allow datasette serve to detect if it was passed a single argument that's a directory, not a file, and kick in to "directory layout configuration mode" in that case:
datasette .
Reactions are currently unavailable