mirror of
https://github.com/simonw/dclient.git
synced 2026-08-02 15:34:11 +02:00
- Update README.md with new commands summary and uv development workflow - Add docs/exploring.md covering databases, tables, schema, rows, get commands with filtering, sorting, pagination, and output format examples - Add docs/writing.md covering create-table, upsert, update, delete, drop - Update docs/queries.md with output format options (--csv, --tsv, --nl, --table) - Update docs/inserting.md with cross-references to upsert/update - Update docs/index.md toctree to include new pages - Regenerate all cog --help blocks with current command signatures https://claude.ai/code/session_01DoiJf9Gbvbw2asN9yvP6dx
42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
# dclient
|
|
|
|
[](https://pypi.org/project/dclient/)
|
|
[](https://github.com/simonw/dclient/releases)
|
|
[](https://github.com/simonw/dclient/actions?query=workflow%3ATest)
|
|
[](https://github.com/simonw/dclient/blob/master/LICENSE)
|
|
|
|
A client CLI utility for [Datasette](https://datasette.io/) instances
|
|
|
|
## Installation
|
|
|
|
Install `dclient` using `pip` (or [pipx](https://pipxproject.github.io/pipx/)):
|
|
|
|
```bash
|
|
pip install dclient
|
|
```
|
|
|
|
### As a Datasette plugin
|
|
|
|
If you also have Datasette installed in the same environment it will register itself as a command plugin:
|
|
```bash
|
|
datasette install dclient
|
|
```
|
|
This means you can run any of these commands using `datasette dc` instead, like this:
|
|
```bash
|
|
datasette dc --help
|
|
datasette dc query https://latest.datasette.io/fixtures "select * from facetable limit 1"
|
|
```
|
|
|
|
## Contents
|
|
|
|
```{toctree}
|
|
---
|
|
maxdepth: 3
|
|
---
|
|
exploring
|
|
queries
|
|
inserting
|
|
writing
|
|
aliases
|
|
authentication
|
|
```
|