You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Exit and report failures at the end of the input when reading from a file.
57
60
|
58
61
59
-
|--enable-autocompletions
60
-
|Whether to enable Cypher autocompletions inside the CLI, which are disabled by default.
61
-
|
62
+
|--enable-autocompletions
63
+
|Whether to enable Cypher autocompletions inside the CLI. Completions can only be enabled for neo4j 5 and later.
64
+
|false
62
65
63
66
|--format {auto,verbose,plain}
64
67
|Desired output format. Displays the results in tabular format if you use the shell interactively and with minimal formatting if you use it for scripting. +
65
-
`verbose` displays results in a tabular format and prints statistics. +
68
+
`verbose` displays results in tabular format and prints statistics. +
66
69
`plain` displays data with minimal formatting.
67
70
|auto
68
71
69
72
|-P PARAM, --param PARAM
70
-
|Add a parameter to this session. Example: `-P '{a: 1}'`, `-P '{a: 1, b: duration({seconds: 1})}'`, or using arrow syntax `-P 'a => 1'`. This argument can be specified multiple times.
73
+
|Add a parameter to this session. Example: `-P '{a: 1}'` or `-P '{a: 1, b: duration({seconds: 1})}'`. This argument can be specified multiple times.
71
74
|[]
72
75
73
76
|--non-interactive
74
77
|Force non-interactive mode. Only useful when auto-detection fails (like on Windows).
75
78
|false
76
79
77
80
|--sample-rows SAMPLE-ROWS
78
-
|Number of rows sampled to compute table widths (only for format=VERBOSE)
81
+
|Number of rows sampled to compute table widths (only for format=VERBOSE).
79
82
|1000
80
83
81
84
|--wrap {true,false}
82
-
|Wrap table column values if the column is too narrow (only for format=VERBOSE).
85
+
|Wrap table column values if column is too narrow (only for format=VERBOSE).
83
86
|true
84
87
85
88
|-v, --version
@@ -103,14 +106,14 @@ After executing all statements, Cypher Shell shuts down.
103
106
|Enable logging to the specified file, or standard error if the file is omitted.
104
107
|
105
108
106
-
|--history [HISTORY-BEHAVIOUR]
107
-
|File path of query and command history file or `in-memory` for in-memory history.
108
-
Defaults to <user home>/.neo4j/.cypher_shell_history.
109
-
It can also be set using the environmental variable NEO4J_CYPHER_SHELL_HISTORY.
109
+
|--history HISTORY-BEHAVIOUR
110
+
|File path of a query and a command history file or `in-memory` for in-memory history.
111
+
If the option is omitted, history is saved to `<user home>/.neo4j/.cypher_shell_history`.
112
+
Can also be set using the environment variable `NEO4J_CYPHER_SHELL_HISTORY`.
110
113
|
111
114
112
115
|--notifications
113
-
|Enable query notifications in interactive mode.
116
+
|Enable notifications in interactive mode.
114
117
|false
115
118
116
119
|--idle-timeout IDLE-TIMEOUT
@@ -148,10 +151,10 @@ Can also be specified using the environment variable `NEO4J_ADDRESS` or `NEO4J_U
148
151
|
149
152
150
153
| --encryption {true,false,default}
151
-
| Whether the connection to Neo4j should be encrypted. This must be consistent with Neo4j's configuration. If choosing `default`, the encryption setting is deduced from the specified address. For example, the `neo4j+ssc` protocol uses encryption.
154
+
| Whether the connection to Neo4j should be encrypted. This must be consistent with the Neo4j's configuration. If choosing 'default', the encryption setting is deduced from the specified address. For example, the 'neo4j+ssc' protocol uses encryption.
152
155
| default
153
156
154
-
| -d DATABASE --database DATABASE
157
+
| -d DATABASE, --database DATABASE
155
158
| Database to connect to. Can also be specified using the environment variable NEO4J_DATABASE.
0 commit comments