gremlin-run

0.3.1 • Public • Published

Gremlin-run

Execute a single Gemlin query from the command line, without truncating the output.

Install

npm install -g gremlin-run

Examples

Basic usage

gremlin-run "g.V().label().dedup()"
gremlin-run "g.V().label().dedup()" --output json
gremlin-run "g.V().label().dedup()" --output raw --verbose

Specify gremlin server using command line arguments

gremlin-run --port 8182 --host 127.0.0.1 "g.V().label().dedup()"

Specify gremlin server using environment variables

export gremlin_port=8182
export gremlin_host=127.0.0.1
gremlin-run "g.V().label().dedup()"

Usage

gremlin-run [--host <host>] [--port <port>] <gremlin-query>

Readme

Keywords

none

Package Sidebar

Install

npm i gremlin-run

Weekly Downloads

0

Version

0.3.1

License

MIT

Last publish

Collaborators

  • fpoli