mirror of
https://github.com/simonw/dclient.git
synced 2026-08-09 10:54:11 +02:00
40 lines
1,021 B
Markdown
40 lines
1,021 B
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 instances
|
|
|
|
## Installation
|
|
|
|
Install this tool using `pip`:
|
|
|
|
pip install dclient
|
|
|
|
## Usage
|
|
|
|
For help, run:
|
|
|
|
dclient --help
|
|
|
|
You can also use:
|
|
|
|
python -m dclient --help
|
|
|
|
## Development
|
|
|
|
To contribute to this tool, first checkout the code. Then create a new virtual environment:
|
|
|
|
cd dclient
|
|
python -m venv venv
|
|
source venv/bin/activate
|
|
|
|
Now install the dependencies and test dependencies:
|
|
|
|
pip install -e '.[test]'
|
|
|
|
To run the tests:
|
|
|
|
pytest
|