Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@apollographql/cli

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollographql/cli

CLI for apollographql

  • 1.0.0-canary.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
4
Weekly downloads
 
Created
Source

apollo-cli

CLI for the Apollo platform of tooling

Version CircleCI Appveyor CI Codecov Downloads/week License

Usage

$ npm install -g @apollographql/cli
$ apollo COMMAND
running command...
$ apollo (-v|--version|version)
@apollographql/cli/1.0.0-canary.2 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 [FILE]

describe the command here

USAGE
  $ apollo schema [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

See code: src/commands/schema.ts

apollo schema:check

Check a schema against previous registered schema

USAGE
  $ apollo schema:check

OPTIONS
  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch
                           the schema

  -h, --help               show CLI help

  -s, --service=service    ENGINE_API_KEY for the Engine service

  --header=header          Additional headers to send to server for introspectionQuery

  --json                   output result as json

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

apollo schema:publish

Publish a schema to Engine

USAGE
  $ apollo schema:publish

OPTIONS
  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch
                           the schema

  -h, --help               show CLI help

  -s, --service=service    ENGINE_API_KEY for the Engine service

  --header=header          Additional headers to send to server for introspectionQuery

  --json                   output successful publish result as json

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

Keywords

FAQs

Package last updated on 27 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc