Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Feature request: run a script from a file a la \i in psql, etc. #96

Open
sammyjava opened this issue Jun 9, 2017 · 2 comments
Open

Comments

@sammyjava
Copy link

I'd like to be able to sit at the cypher-shell prompt and run scripts from files, something like

neo4j>\i my-wonderful-script.cypher

Former (?) RDBMS peeps like me are very used to doing so in the psql, mysql text clients.

@cleishm
Copy link

cleishm commented Jun 10, 2017

As this feature already exists in neo4j-client, when/if support for this is added to cypher-shell, it would be good to use :source <file> as the command name for compatibility.

@davisford
Copy link

Would really love to be able to do something like cypher-shell -f some-script.cypher

I've built cypher shell into a container, and want to run it as a Job in Kubernetes to bootstrap my indexes. I'm not totally certain yet how I can pipe a file into a running Pod

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants