Giter VIP home page Giter VIP logo

grrl's Introduction

Grrl! Graph+Curl

Grrl is a bash client for Neo4j.

Why not just use Neo4j's shell? Because grrl doesn't care what version of Neo4j you are using (or even that it is talking to Neo4j). Grrl just wants to integrate well on the command line.

Features

  • one-shot queries grrl "MATCH (n)--(m) WHERE n.name=\"grrl\""
  • REPL with history
  • run *.cypher files as scripts
    • grrl all.cypher will find and run that script file
  • multi-line Cypher statement support within scripts
  • multi-statement Cypher queries from files (semicolon separated)
  • search for "Cypher scripts" by name (without extension)
    • grrl all could find src/main/cypher/all.cypher and run it
  • pass key-value definitions in to parameterize Cypher
    • grrl -Duid=abk find_user_by_uid

Basic Usage

grrl [ -dvh ] [ 'cypher query' | file ... ]

  GRaph cuRL sends Cypher queries to Neo4j.
  1) Without args, a repl starts.
  2) Provided args are interpreted as either
     complete Cypher queries, or script files 
     (with explicit or assumed ".cypher" extension).
  3) Piped input is treated like a script file.

  Options:
  -d Pass in a name=value pair to parameterize Cypher
  -v Verbose posting of scripts (helpful for debugging)
  -h Usage, grrl!
  • grrl clear to delete everything but the hallowed node 0
  • grrl all to get all nodes, relationships and typelabels
  • grrl <filename> to post a cypher script
  • grrl "<cypher query>" to post an ad-hoc query

grrl's People

Contributors

akollegger avatar

Watchers

Julian Simpson avatar  avatar Emil Eifrem avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.