This repository was archived by the owner on Jul 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
Pass a cypher file as a parameter #167
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
By using `-f` or `--file` we can pass in a file of cypher to execute. Works mostly in the same way as piping cypher statements to the shell.
f502181 to
b84a0c2
Compare
sherfert
suggested changes
Sep 11, 2019
Collaborator
sherfert
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good but thin on test coverage.
cypher-shell/src/integration-test/java/org/neo4j/shell/MainIntegrationTest.java
Outdated
Show resolved
Hide resolved
cypher-shell/src/main/java/org/neo4j/shell/cli/CliArgHelper.java
Outdated
Show resolved
Hide resolved
cypher-shell/src/integration-test/java/org/neo4j/shell/MainIntegrationTest.java
Outdated
Show resolved
Hide resolved
- empty file - file with multiple statements - file with invalid Cypher
sherfert
reviewed
Sep 12, 2019
cypher-shell/src/integration-test/java/org/neo4j/shell/MainIntegrationTest.java
Show resolved
Hide resolved
13e6a4c to
6fc2e24
Compare
cdf42f4 to
c7cee73
Compare
…egrationTest.java Co-Authored-By: Satia Herfert <satiaherfert@gmx.de>
c7cee73 to
19ab904
Compare
sherfert
approved these changes
Sep 12, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
By using
-for--filewe can pass in a file of cypher to execute.Works mostly in the same way as piping cypher statements to the shell.
changelog: Support for passing a cypher file via
-for--fileto cypher-shell