It might be useful to have an startup hook which gets passed the datasette object as soon as Datasette has finished initializing.
My initial use-case for this is configuration verification - checking that the "plugins" configuration block for this plugin contains valid details.
I imagine there are plenty of other potential uses for this as well.
It might be useful to have an
startuphook which gets passed thedatasetteobject as soon as Datasette has finished initializing.My initial use-case for this is configuration verification - checking that the
"plugins"configuration block for this plugin contains valid details.I imagine there are plenty of other potential uses for this as well.