https://github.com/fpoli/node-gremlin-run
Execute a single Gremlin query from the command line, without truncating the output
https://github.com/fpoli/node-gremlin-run
Last synced: about 1 year ago
JSON representation
Execute a single Gremlin query from the command line, without truncating the output
- Host: GitHub
- URL: https://github.com/fpoli/node-gremlin-run
- Owner: fpoli
- License: mit
- Created: 2017-03-23T08:47:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-23T09:01:06.000Z (about 9 years ago)
- Last Synced: 2025-03-18T09:52:08.258Z (about 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
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 ] [--port ]