Skip to content

Commit

Permalink
Add datasette
Browse files Browse the repository at this point in the history
  • Loading branch information
yamaton committed Nov 30, 2023
1 parent 6e94305 commit 73d2633
Show file tree
Hide file tree
Showing 7 changed files with 492 additions and 5 deletions.
4 changes: 2 additions & 2 deletions general.json.gz
Git LFS file not shown
1 change: 1 addition & 0 deletions general.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ crontab
ctest
curl
cut
datasette
date
delta
deno
Expand Down
2 changes: 1 addition & 1 deletion general/bash
Submodule bash updated 1 files
+129 −0 completions/datasette
2 changes: 1 addition & 1 deletion general/fish
1 change: 1 addition & 0 deletions general/json/datasette.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"datasette","description":"Datasette is an open source multi-tool for exploring and publishing data","usage":"datasette [OPTIONS] COMMAND [ARGS]...","options":[{"names":["--version"],"argument":"","description":"Show the version and exit."},{"names":["--help"],"argument":"","description":"Show this message and exit."}],"subcommands":[{"name":"serve","description":"Serve up specified SQLite database files with a web UI","usage":"datasette serve [OPTIONS] [FILES]...","options":[{"names":["-i","--immutable"],"argument":"PATH","description":"Database files to open in immutable mode"},{"names":["-h","--host"],"argument":"TEXT","description":"Host for server. Defaults to 127.0.0.1 which means only connections from the local machine will be allowed. Use 0.0.0.0 to listen to all IPs and allow access from other machines."},{"names":["-p","--port"],"argument":"INTEGER RANGE","description":"Port for server, defaults to 8001. Use -p 0 to automatically assign an available port. [0<=x<=65535]"},{"names":["--uds"],"argument":"TEXT","description":"Bind to a Unix domain socket"},{"names":["--reload"],"argument":"","description":"Automatically reload if code or metadata change detected - useful for development"},{"names":["--cors"],"argument":"","description":"Enable CORS by serving Access-Control-AllowOrigin: *"},{"names":["--inspect-file"],"argument":"TEXT","description":"Path to JSON file created using \"datasette inspect\""},{"names":["-m","--metadata"],"argument":"FILENAME","description":"Path to JSON/YAML file containing license/source metadata"},{"names":["--template-dir"],"argument":"DIRECTORY","description":"Path to directory containing custom templates"},{"names":["--plugins-dir"],"argument":"DIRECTORY","description":"Path to directory containing custom plugins"},{"names":["--static"],"argument":"MOUNT:DIRECTORY","description":"Serve static files from this directory at /MOUNT/..."},{"names":["--memory"],"argument":"","description":"Make /_memory database available"},{"names":["--config"],"argument":"CONFIG","description":"Deprecated: set config option using configname:value. Use --setting instead."},{"names":["--setting"],"argument":"SETTING...","description":"Setting, see docs.datasette.io/en/stable/settings.html"},{"names":["--secret"],"argument":"TEXT","description":"Secret used for signing secure values, such as signed cookies"},{"names":["--root"],"argument":"","description":"Output URL that sets a cookie authenticating the root user"},{"names":["--get"],"argument":"TEXT","description":"Run an HTTP GET request against this path, print results and exit"},{"names":["--version-note"],"argument":"TEXT","description":"Additional note to show on /-/versions"},{"names":["--help-settings"],"argument":"","description":"Show available settings"},{"names":["--pdb"],"argument":"","description":"Launch debugger on any errors"},{"names":["-o","--open"],"argument":"","description":"Open Datasette in your web browser"},{"names":["--create"],"argument":"","description":"Create database files if they do not exist"},{"names":["--crossdb"],"argument":"","description":"Enable cross-database joins using the /_memory database"},{"names":["--nolock"],"argument":"","description":"Ignore locking, open locked files in readonly mode"},{"names":["--ssl-keyfile"],"argument":"TEXT","description":"SSL key file"},{"names":["--ssl-certfile"],"argument":"TEXT","description":"SSL certificate file"},{"names":["--help"],"argument":"","description":"Show this message and exit."}]},{"name":"inspect","description":"Generate JSON summary of provided database files","usage":"datasette inspect [OPTIONS] [FILES]...","options":[{"names":["--help"],"argument":"","description":"Show this message and exit."}]},{"name":"install","description":"Install plugins and packages from PyPI into the same...","usage":"datasette install [OPTIONS] PACKAGES...","options":[{"names":["-U","--upgrade"],"argument":"","description":"Upgrade packages to latest version"},{"names":["--help"],"argument":"","description":"Show this message and exit."}]},{"name":"package","description":"Package SQLite files into a Datasette Docker container","usage":"datasette package [OPTIONS] FILES...","options":[{"names":["-t","--tag"],"argument":"TEXT","description":"Name for the resulting Docker container, can optionally use name:tag format"},{"names":["-m","--metadata"],"argument":"FILENAME","description":"Path to JSON/YAML file containing metadata to publish"},{"names":["--extra-options"],"argument":"TEXT","description":"Extra options to pass to datasette serve"},{"names":["--branch"],"argument":"TEXT","description":"Install datasette from a GitHub branch e.g. main"},{"names":["--template-dir"],"argument":"DIRECTORY","description":"Path to directory containing custom templates"},{"names":["--plugins-dir"],"argument":"DIRECTORY","description":"Path to directory containing custom plugins"},{"names":["--static"],"argument":"MOUNT:DIRECTORY","description":"Serve static files from this directory at /MOUNT/..."},{"names":["--install"],"argument":"TEXT","description":"Additional packages (e.g. plugins) to install"},{"names":["--spatialite"],"argument":"","description":"Enable SpatialLite extension"},{"names":["--version-note"],"argument":"TEXT","description":"Additional note to show on /-/versions"},{"names":["--secret"],"argument":"TEXT","description":"Secret used for signing secure values, such as signed cookies"},{"names":["-p","--port"],"argument":"INTEGER RANGE","description":"Port to run the server on, defaults to 8001 [1<=x<=65535]"},{"names":["--title"],"argument":"TEXT","description":"Title for metadata"},{"names":["--license"],"argument":"TEXT","description":"License label for metadata"},{"names":["--license_url"],"argument":"TEXT","description":"License URL for metadata"},{"names":["--source"],"argument":"TEXT","description":"Source label for metadata"},{"names":["--source_url"],"argument":"TEXT","description":"Source URL for metadata"},{"names":["--about"],"argument":"TEXT","description":"About label for metadata"},{"names":["--about_url"],"argument":"TEXT","description":"About URL for metadata"},{"names":["--help"],"argument":"","description":"Show this message and exit."}]},{"name":"plugins","description":"List currently installed plugins","usage":"datasette plugins [OPTIONS]","options":[{"names":["--all"],"argument":"","description":"Include built-in default plugins"},{"names":["--plugins-dir"],"argument":"DIRECTORY","description":"Path to directory containing custom plugins"},{"names":["--help"],"argument":"","description":"Show this message and exit."}]},{"name":"publish","description":"Publish specified SQLite database files to the internet...","usage":"datasette publish [OPTIONS] COMMAND [ARGS]...","options":[{"names":["--help"],"argument":"","description":"Show this message and exit."}],"subcommands":[{"name":"cloudrun","description":"Publish databases to Datasette running on Cloud Run","usage":"datasette publish cloudrun [OPTIONS] [FILES]...","options":[{"names":["-m","--metadata"],"argument":"FILENAME","description":"Path to JSON/YAML file containing metadata to publish"},{"names":["--extra-options"],"argument":"TEXT","description":"Extra options to pass to datasette serve"},{"names":["--branch"],"argument":"TEXT","description":"Install datasette from a GitHub branch e.g. main"},{"names":["--template-dir"],"argument":"DIRECTORY","description":"Path to directory containing custom templates"},{"names":["--plugins-dir"],"argument":"DIRECTORY","description":"Path to directory containing custom plugins"},{"names":["--static"],"argument":"MOUNT:DIRECTORY","description":"Serve static files from this directory at /MOUNT/..."},{"names":["--install"],"argument":"TEXT","description":"Additional packages (e.g. plugins) to install"},{"names":["--plugin-secret"],"argument":"<TEXT TEXT TEXT>...","description":"Secrets to pass to plugins, e.g. --pluginsecret datasette-auth-github client_id xxx"},{"names":["--version-note"],"argument":"TEXT","description":"Additional note to show on /-/versions"},{"names":["--secret"],"argument":"TEXT","description":"Secret used for signing secure values, such as signed cookies"},{"names":["--title"],"argument":"TEXT","description":"Title for metadata"},{"names":["--license"],"argument":"TEXT","description":"License label for metadata"},{"names":["--license_url"],"argument":"TEXT","description":"License URL for metadata"},{"names":["--source"],"argument":"TEXT","description":"Source label for metadata"},{"names":["--source_url"],"argument":"TEXT","description":"Source URL for metadata"},{"names":["--about"],"argument":"TEXT","description":"About label for metadata"},{"names":["--about_url"],"argument":"TEXT","description":"About URL for metadata"},{"names":["-n","--name"],"argument":"TEXT","description":"Application name to use when building"},{"names":["--service"],"argument":"TEXT","description":"Cloud Run service to deploy (or over-write)"},{"names":["--spatialite"],"argument":"","description":"Enable SpatialLite extension"},{"names":["--show-files"],"argument":"","description":"Output the generated Dockerfile and metadata.json"},{"names":["--memory"],"argument":"TEXT","description":"Memory to allocate in Cloud Run, e.g. 1Gi"},{"names":["--cpu"],"argument":"[1|2|4]","description":"Number of vCPUs to allocate in Cloud Run"},{"names":["--timeout"],"argument":"INTEGER","description":"Build timeout in seconds"},{"names":["--apt-get-install"],"argument":"TEXT","description":"Additional packages to apt-get install"},{"names":["--max-instances"],"argument":"INTEGER","description":"Maximum Cloud Run instances"},{"names":["--min-instances"],"argument":"INTEGER","description":"Minimum Cloud Run instances"},{"names":["--help"],"argument":"","description":"Show this message and exit."}]},{"name":"heroku","description":"Publish databases to Datasette running on Heroku","usage":"datasette publish heroku [OPTIONS] [FILES]...","options":[{"names":["-m","--metadata"],"argument":"FILENAME","description":"Path to JSON/YAML file containing metadata to publish"},{"names":["--extra-options"],"argument":"TEXT","description":"Extra options to pass to datasette serve"},{"names":["--branch"],"argument":"TEXT","description":"Install datasette from a GitHub branch e.g. main"},{"names":["--template-dir"],"argument":"DIRECTORY","description":"Path to directory containing custom templates"},{"names":["--plugins-dir"],"argument":"DIRECTORY","description":"Path to directory containing custom plugins"},{"names":["--static"],"argument":"MOUNT:DIRECTORY","description":"Serve static files from this directory at /MOUNT/..."},{"names":["--install"],"argument":"TEXT","description":"Additional packages (e.g. plugins) to install"},{"names":["--plugin-secret"],"argument":"<TEXT TEXT TEXT>...","description":"Secrets to pass to plugins, e.g. --pluginsecret datasette-auth-github client_id xxx"},{"names":["--version-note"],"argument":"TEXT","description":"Additional note to show on /-/versions"},{"names":["--secret"],"argument":"TEXT","description":"Secret used for signing secure values, such as signed cookies"},{"names":["--title"],"argument":"TEXT","description":"Title for metadata"},{"names":["--license"],"argument":"TEXT","description":"License label for metadata"},{"names":["--license_url"],"argument":"TEXT","description":"License URL for metadata"},{"names":["--source"],"argument":"TEXT","description":"Source label for metadata"},{"names":["--source_url"],"argument":"TEXT","description":"Source URL for metadata"},{"names":["--about"],"argument":"TEXT","description":"About label for metadata"},{"names":["--about_url"],"argument":"TEXT","description":"About URL for metadata"},{"names":["-n","--name"],"argument":"TEXT","description":"Application name to use when deploying"},{"names":["--tar"],"argument":"TEXT","description":"--tar option to pass to Heroku, e.g. --tar=/usr/local/bin/gtar"},{"names":["--generate-dir"],"argument":"DIRECTORY","description":"Output generated application files and stop without deploying"},{"names":["--help"],"argument":"","description":"Show this message and exit."}]}]},{"name":"uninstall","description":"Uninstall plugins and Python packages from the Datasette...","usage":"datasette uninstall [OPTIONS] PACKAGES...","options":[{"names":["-y","--yes"],"argument":"","description":"Don't ask for confirmation"},{"names":["--help"],"argument":"","description":"Show this message and exit."}]}],"version":"datasette, version 0.64.5"}
Loading

0 comments on commit 73d2633

Please sign in to comment.