Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including grater-cli with all npm packages installed. Try it out:

var graterCli = require("grater-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

grater-cli v1.1.0

CLI Interface to Grater.io

grater-cli

CLI Interface to Grater.io

oclif Version

CircleCI

Appveyor CI Codecov Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ npm install -g grater-cli $ grater COMMAND running command... $ grater (-v|--version|version) grater-cli/1.1.0 darwin-x64 node-v10.0.0 $ grater --help [COMMAND] USAGE $ grater COMMAND ... ``` # Commands * [`grater endpointData CANONICALNAME FIELDS`](#grater-endpoint-data-canonicalname-fields) * [`grater help [COMMAND]`](#grater-help-command) * [`grater info`](#grater-info)

grater endpointData CANONICALNAME FIELDS

index query on an Endpoint

USAGE
  $ grater endpointData CANONICALNAME FIELDS

ARGUMENTS
  CANONICALNAME  canonicalName of the endpoint to query
  FIELDS         comma-separated list of fields to return

OPTIONS
  -f, --first=first  how many documents to return
  -h, --help         show CLI help
  -s, --skip=skip    how many documents to skip

See code: src/commands/endpointData.ts

grater help [COMMAND]

display help for grater

USAGE
  $ grater help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

grater info

view Grater.io Endpoint info

USAGE
  $ grater info

OPTIONS
  -h, --help  show CLI help

See code: src/commands/info.ts

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free