Bolt.Sips v0.1.0 Mix.Tasks.Bolt.Cypher

Quickly run Cypher commands from a mix task

Command line options

  • --host, -h - server host
  • --port, -P - server port
  • --username, -u - the user name (optional)
  • --password, -p - password

The command line options have lower precedence than the options specified in your mix.exs file, if defined.

Examples:

mix bolt.cypher "MATCH (people:Person) RETURN people.name LIMIT 5"

Output sample:

"MATCH (people:Person) RETURN people.name as name LIMIT 5"
[%{"name" => "Keanu Reeves"}, %{"name" => "Carrie-Anne Moss"},
 %{"name" => "Andy Wachowski"}, %{"name" => "Lana Wachowski"},
 %{"name" => "Joel Silver"}]