OptionalargvOptionalclientShould client types be generated? Defaults to false.
OptionalintrospectionIntrospection options (only required for client-code generation)
OptionalintrospectorOptionalloggerThe logger used in the CLI. Defaults to console.
OptionalnoIf true, does not exit the process on error.
OptionaloperationsPath to directory of GraphQL operation documents, relative to root. Defaults to "operations".
OptionaloutPath to directory to place generated code, relative to root. Defaults to "src/generated".
OptionalreaderOptionalrootPath to root directory for code generation. It's recommended to use a root relative to __dirname. Defaults to the current working dir.
OptionalscalarOptionalschemaPath to directory of GraphQL schema documents, relative to root. Defaults to "schema".
OptionalserverShould server types be generated? Defaults to false.
OptionalstitchingOptionalwatchShould the CLI run in watch mode? Defaults to false.
Set command-line arguments. Defaults to process.argv.