@@ -38,18 +38,18 @@ export JSONLITE_DATA_DIR=/tmp/jsonlite.data
3838
3939> set \< json\> - Writes a json document and returns the document id
4040
41- ```` shell
41+ ````
4242➜ jsonlite set '{"name":"John Doe","active":true,"permissions":{"read":true,"write":false}}'
4343666B81D6-3F8A-4D57-BA3F-11FA8FC47246
4444````
4545
4646` set ` also supports piping into it:
4747
48- ```` shell
48+ ````
4949echo '{"key":"value"}' | jsonlite set
50504472B861-4C10-4C0A-A63B-E5D45AA679C0
5151````
52- ```` shell
52+ ````
5353jsonlite set < file.json
54549DF4DC1F-121E-46DC-B580-E1663B645AED
5555````
@@ -58,7 +58,7 @@ jsonlite set < file.json
5858
5959> get \< document-id\> - Retrieves a json document by document id
6060
61- ```` shell
61+ ````
6262➜ jsonlite get 666B81D6-3F8A-4D57-BA3F-11FA8FC47246
6363{
6464 "active": true,
@@ -74,7 +74,7 @@ jsonlite set < file.json
7474
7575> count - Total number of json documents in the database
7676
77- ```` shell
77+ ````
7878➜ jsonlite count
7979293
8080````
@@ -83,28 +83,28 @@ jsonlite set < file.json
8383
8484> delete \< document-id\> - Deletes a json document by document id
8585
86- ```` shell
86+ ````
8787➜ jsonlite delete 666B81D6-3F8A-4D57-BA3F-11FA8FC47246
8888````
8989
9090### drop
9191
9292> drop (--force) - Drops the database
9393
94- ```` shell
94+ ````
9595➜ jsonlite drop
9696Drop database '/tmp/jsonlite.data'? [Y/n] Y
9797````
9898
99- ```` shell
99+ ````
100100➜ jsonlite drop --force
101101````
102102
103103### help
104104
105105> help - Displays help
106106
107- ```` shell
107+ ````
108108➜ jsonlite help
109109Usage: jsonlite command <command-specific-options>
110110
@@ -122,7 +122,7 @@ Usage: jsonlite command <command-specific-options>
122122
123123> version - Displays the current version
124124
125- ```` shell
125+ ````
126126➜ jsonlite version
1271271.1.4
128128````
@@ -131,7 +131,7 @@ Usage: jsonlite command <command-specific-options>
131131
132132> default - Displays the current version, configuration, and help
133133
134- ``` shell
134+ ```
135135➜ jsonlite
136136JSONlite 1.1.4
137137 json formatter: json_reformat (fastest)
0 commit comments