JSPM

apollo

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 158618
  • Score
    100M100P100Q176298F
  • License MIT

CLI for apollographql

Package Exports

  • apollo

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (apollo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

apollo-cli

CLI for the Apollo platform of tooling

Version CircleCI Appveyor CI Codecov Downloads/week License

Usage

$ npm install -g apollo
$ apollo COMMAND
running command...
$ apollo (-v|--version|version)
apollo/1.0.3 linux-x64 node-v9.4.0
$ apollo --help [COMMAND]
USAGE
  $ apollo COMMAND
...

Commands

apollo help [COMMAND]

display help for apollo

USAGE
  $ apollo help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

apollo schema:check

Check a schema against the version registered in Apollo Engine.

USAGE
  $ apollo schema:check

OPTIONS
  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from
  -h, --help               show CLI help
  --header=header          Additional headers to send to server for introspectionQuery
  --json                   output result as JSON
  --key=key                The API key for the Apollo Engine service

See code: src/commands/schema/check.ts

apollo schema:publish

Publish a schema to Apollo Engine

USAGE
  $ apollo schema:publish

OPTIONS
  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from
  -h, --help               show CLI help
  --header=header          Additional headers to send to server for introspectionQuery
  --json                   output successful publish result as JSON
  --key=key                The API key for the Apollo Engine service

See code: src/commands/schema/publish.ts