@neotracker/persistgql

0.2.0 • Public • Published

@neotracker/persistgql

oclif Version CircleCI Downloads/week License

Usage

$ npm install -g @neotracker/persistgql
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
@neotracker/persistgql/0.2.0 darwin-x64 node-v11.10.1
$ oclif-example --help [COMMAND]
USAGE
  $ oclif-example COMMAND
...

Commands

oclif-example persistgql OUTPUT

Extract persisted queries from a client

USAGE
  $ oclif-example persistgql OUTPUT

ARGUMENTS
  OUTPUT  [default: manifest.json] Path to write the extracted queries to

OPTIONS
  -c, --config=config                    Path to your Apollo config file
  -t, --tag=tag                          [default: current] The published service tag for this client
  --clientName=clientName                Name of the client that the queries will be attached to

  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use
                                         clientName if not provided

  --clientVersion=clientVersion          The version of the client that the queries will be attached to

  --endpoint=endpoint                    The url of your service

  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently
                                         work in watch mode

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

  --includes=includes                    Glob of files to search for GraphQL operations

  --key=key                              The API key for the Apollo Engine service

  --queries=queries                      Deprecated in favor of the includes flag

See code: src/commands/persistgql.ts

Readme

Keywords

Package Sidebar

Install

npm i @neotracker/persistgql

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

158 kB

Total Files

11

Last publish

Collaborators

  • spencercorwin
  • afragapane
  • dicarlo