From 427dace184c7da57f4a04df07b1e84cdae3261e8 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 14 Feb 2021 13:36:43 -0800 Subject: [PATCH] Added --csv example to README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fa78d9d..e8b8245 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,15 @@ Now you can do things with the CLI utility like this: 1 4 Cleo 2 2 Pancakes -You can even import data into a new database table like this: +You can import JSON data into a new database table like this: $ curl https://api.github.com/repos/simonw/sqlite-utils/releases \ | sqlite-utils insert releases.db releases - --pk id +Or for data in a CSV file: + + $ sqlite-utils insert dogs.db dogs docs.csv --csv + See the [full CLI documentation](https://sqlite-utils.datasette.io/en/stable/cli.html) for comprehensive coverage of many more commands. ## Using as a library