Alex Garcia
92b8bf38c0
Add new `--internal internal.db` option, deprecate legacy `_internal` database
...
Refs:
- #2157
---------
Co-authored-by: Simon Willison <swillison@gmail.com>
2023-08-28 20:24:23 -07:00
Simon Willison
d8351b08ed
datasette --get --actor 'JSON' option, closes #2153
...
Refs #2154
2023-08-28 13:15:38 -07:00
Simon Willison
d9aad1fd04
-s/--setting x y gets merged into datasette.yml, refs #2143 , #2156
...
This change updates the `-s/--setting` option to `datasette serve` to allow it to be used to set arbitrarily complex nested settings in a way that is compatible with the new `-c datasette.yml` work happening in:
- #2143
It will enable things like this:
```
datasette data.db --setting plugins.datasette-ripgrep.path "/home/simon/code"
```
For the moment though it just affects [settings](https://docs.datasette.io/en/1.0a4/settings.html ) - so you can do this:
```
datasette data.db --setting settings.sql_time_limit_ms 3500
```
I've also implemented a backwards compatibility mechanism, so if you use it this way (the old way):
```
datasette data.db --setting sql_time_limit_ms 3500
```
It will notice that the setting you passed is one of Datasette's core settings, and will treat that as if you said `settings.sql_time_limit_ms` instead.
2023-08-28 13:06:14 -07:00
Simon Willison
64fd1d788e
Applied Cog, refs #2143 , #2149
2023-08-22 19:57:46 -07:00
Alex Garcia
17ec309e14
Start datasette.json, re-add --config, rm settings.json
...
The first step in defining the new `datasette.json/yaml` configuration mechanism.
Refs #2093 , #2143 , #493
2023-08-22 18:26:11 -07:00
Simon Willison
943df09dcc
Remove all remaining "$ " prefixes from docs, closes #2140
...
Also document sqlite-utils create-view
2023-08-11 10:44:34 -07:00
Simon Willison
4a42476bb7
datasette plugins --requirements, closes #2133
2023-08-09 15:04:16 -07:00
Simon Willison
0818182399
Update cli-reference for editable change, refs #2106
2023-07-26 11:52:57 -07:00
Simon Willison
278ac91a4d
datasette install -e option, closes #2106
2023-07-22 11:42:46 -07:00
Simon Willison
1ad92a1d87
datasette install -r requirements.txt, closes #2033
2023-03-06 14:27:30 -08:00
Simon Willison
c41278b46f
default_allow_sql setting, closes #1409
...
Refs #1410
2023-01-04 16:51:26 -08:00
Simon Willison
d4cc1374f4
Improved --help for create-token, refs #1947
2022-12-13 14:28:59 -08:00
Simon Willison
c13dada2f8
datasette --get --token option, closes #1946 , refs #1855
2022-12-12 20:36:42 -08:00
Simon Willison
14f1cc4984
Update CLI reference help, refs #1855
2022-12-12 20:21:48 -08:00
Simon Willison
b8fc8e2cd7
Merge branch 'main' into 1.0-dev
2022-11-29 11:34:39 -08:00
Simon Willison
72ac9bf82f
--generate-dir option to publish heroku, refs #1905
2022-11-18 16:34:33 -08:00
Simon Willison
4f16e14d7a
Update cog
2022-10-30 14:53:33 -07:00
Simon Willison
c35859ae3d
API for bulk inserts, closes #1866
2022-10-29 23:03:45 -07:00
Simon Willison
51c436fed2
First draft of insert row write API, refs #1851
2022-10-26 20:57:02 -07:00
Simon Willison
c7956eed77
datasette create-token command, refs #1859
2022-10-25 21:26:12 -07:00
Simon Willison
c23fa850e7
allow_signed_tokens setting, closes #1856
2022-10-25 19:55:47 -07:00
Simon Willison
ff9c87197d
Fixed Sphinx warnings on cli-reference page
2022-09-06 11:26:21 -07:00
Simon Willison
456dc155d4
Ran cog, refs #1789
2022-08-23 11:40:48 -07:00
Simon Willison
6c0ba7c00c
Improved CLI reference documentation, refs #1787
2022-08-18 14:52:04 -07:00
Simon Willison
82167105ee
--min-instances and --max-instances Cloud Run publish options, closes #1779
2022-08-14 10:07:30 -07:00
Simon Willison
3508bf7875
--nolock mode to ignore locked files, closes #1744
2022-05-17 12:40:25 -07:00
Simon Willison
e64d14e413
Use type integer for --timeout, refs #1717
2022-04-24 07:09:08 -07:00
Simon Willison
4bd3a30e1e
Update cog docs for publish cloudrun, refs #1717
2022-04-24 07:04:11 -07:00
Simon Willison
32963018e7
Updated documentation to remove hash_urls, refs #1661
2022-03-18 17:33:06 -07:00
Simon Willison
3664ddd400
Replace update-docs-help.py with cog, closes #1598
2022-01-13 16:47:53 -08:00
Simon Willison
ab7d6a7179
Updated settings help URL to avoid redirect
2022-01-13 16:38:16 -08:00
Simon Willison
714b4df1b1
Fixed reStructuredText warning, refs #1594
2022-01-13 16:36:28 -08:00
Simon Willison
515f8d38eb
Help summaries for publish cloudrun/heroku
2022-01-13 16:12:54 -08:00
Simon Willison
8cf4b77a92
Better copy for 'datasette plugins --help'
2022-01-13 16:11:07 -08:00
Simon Willison
8f5c44a166
Better --help summaries for install and uninstall
2022-01-13 16:09:38 -08:00
Simon Willison
88bc2ceae1
--help summary for 'datasette inspect', closes #1597
2022-01-13 16:07:30 -08:00
Simon Willison
4b23f01f3e
CLI reference docs, maintained by cog - refs #1594
2022-01-13 13:35:54 -08:00