@neotracker/persistgql
v0.2.0
Published
<!-- usage --> ```sh-session $ npm install -g @neotracker/persistgql $ oclif-example COMMAND running command... $ oclif-example (-v|--version|version) @neotracker/persistgql/0.1.0 darwin-x64 node-v11.10.1 $ oclif-example --help [COMMAND] USAGE $ oclif-exa
Downloads
1
Keywords
Readme
@neotracker/persistgql
Usage
$ npm install -g @neotracker/persistgql
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
@neotracker/persistgql/0.1.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