Skip to content

Commit 550f567

Browse files
committed
version 0.1.3
1 parent 24a8095 commit 550f567

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,19 @@ _0 : createReview2 ( episode: NEWHOPE,commentary: "A legendarily expansive and a
6969
## Options
7070

7171
```
72-
graphql load [--json=file.json] [--csv=file.csv] [--endpoint=name] [--mutation=createType] [--mapping='{"title":"name"}']
72+
/usr/local/bin/graphql load [--json] [--csv] [--endpoint] [--mutation] [--mapping] [--delim]
7373
7474
Optionen:
75-
--help show help
75+
--help Hilfe anzeigen [boolean]
7676
--mapping, -p name mapping of input to mutation (json)
7777
--mutation, -m mutation to call
7878
--endpoint, -e endpoint name to use
7979
--json, -j json file to load
8080
--csv, -c csv file to load
81+
--delim, -d delimiter for arrays
8182
```
8283

83-
Which will take each line of the csv or json file and call the mutation with the data (optionally mapping columns).
84+
Which will take each line of the _csv_ or _json_ file and call the _mutation_ on the _endpoint_ with the data (optionally _mapping_ columns).
8485
Non-absolute files are resolved relative to the directory containing `.graphqlconfig`.
8586

8687

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-cli-load",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "GraphQL CLI Data Loading plugin",
55
"files": [
66
"LICENSE",

0 commit comments

Comments
 (0)