cypher-shell
cypher-shell copied to clipboard
Feature request: run a script from a file a la \i in psql, etc.
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.
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.
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