mirror of
https://github.com/simonw/dclient.git
synced 2026-07-24 09:54:32 +02:00
curl example, refs #8
This commit is contained in:
parent
4705b0cd21
commit
c436781ef1
1 changed files with 7 additions and 0 deletions
|
|
@ -9,6 +9,13 @@ To insert data from a `data.csv` file into a table called `my_table`, creating t
|
|||
```bash
|
||||
dclient insert https://my-private-space.datasette.cloud/data my_table data.csv --create
|
||||
```
|
||||
You can also pipe data into standard input:
|
||||
```bash
|
||||
curl -s 'https://api.github.com/repos/simonw/dclient/issues' | \
|
||||
dclient insert \
|
||||
https://my-private-space.datasette.cloud/data \
|
||||
issues - --create
|
||||
```
|
||||
|
||||
## Supported formats
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue