1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-29 17:19:53 +02:00

add dbshell command examples for executing SQL

This commit is contained in:
Nick Sweeting
2021-01-30 08:25:34 -05:00
committed by GitHub
parent 8e493bf556
commit c25853969d

View File

@@ -73,7 +73,7 @@ archivebox help
- `archivebox add/remove/update/list` to manage Snapshots in the archive - `archivebox add/remove/update/list` to manage Snapshots in the archive
- `archivebox schedule` to pull in fresh URLs in regularly from [boorkmarks/history/Pocket/Pinboard/RSS/etc.](#input-formats) - `archivebox schedule` to pull in fresh URLs in regularly from [boorkmarks/history/Pocket/Pinboard/RSS/etc.](#input-formats)
- `archivebox oneshot` archive single URLs without starting a whole collection - `archivebox oneshot` archive single URLs without starting a whole collection
- `archivebox shell` open a REPL to use the [Python API](https://docs.archivebox.io/en/latest/modules.html) (alpha) - `archivebox shell/manage dbshell` open a REPL to use the [Python API](https://docs.archivebox.io/en/latest/modules.html) (alpha), or SQL API
<div align="center"> <div align="center">
<br/> <br/>
@@ -669,6 +669,7 @@ cd archivebox/
cd path/to/test/data/ cd path/to/test/data/
archivebox shell archivebox shell
archivebox manage dbshell
``` ```
(uses `pytest -s`) (uses `pytest -s`)