# gremlin-run

> Command line interface to execute a single gremlin query

Latest version **0.3.1** (published 2017-03-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install gremlin-run
pnpm add gremlin-run
yarn add gremlin-run
bun add gremlin-run
```

Provides the command `gremlin-run`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2017-03-23 |
| First published | 2017-03-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Federico Poli |
| Maintainers | fpoli |

## Links

- npm: https://www.npmjs.com/package/gremlin-run
- Repository: https://github.com/fpoli/node-gremlin-run
- Homepage: https://github.com/fpoli/node-gremlin-run#readme
- Issues: https://github.com/fpoli/node-gremlin-run/issues
- npm.io page: https://npm.io/package/gremlin-run

## Dependencies (2)

- [gremlin](https://npm.io/package/gremlin.md) ^2.3.2
- [commander](https://npm.io/package/commander.md) ^2.9.0

## Recent versions

- 0.3.1 (latest) — 2017-03-23

## 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 <host>] [--port <port>] <gremlin-query>

---
_Source: https://npm.io/package/gremlin-run · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
