-
-
Notifications
You must be signed in to change notification settings - Fork 706
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
datasette fixtures.db --get "/fixtures.json" #926
Comments
I partly want this so I can easily implement a better
The Homebrew docs at https://docs.brew.sh/Formula-Cookbook#add-a-test-to-the-formula say:
|
|
I can expose ALL of Datasette's functionality on the command-line (without even running a web server) by adding
--get
and--post
options todatasette serve
.This would instantiate the Datasette ASGI app, run a fake request for
/fixtures.json
through it, dump the results out to standard output and quit.A
--post
option could do the same for a POST request. Treating that as a stretch goal for the moment.The text was updated successfully, but these errors were encountered: