@pablosz/gqless-cli
Codegen for gqless
Last updated 2 months ago by pablosz .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @pablosz/gqless-cli 
SYNC missed versions from official npm registry.

@gqless/cli

Create a typed gqless client from a graphql endpoint

Version Downloads/week License

Usage

$ npm install -g @pablosz/gqless-cli
$ gqless COMMAND
running command...
$ gqless (-v|--version|version)
@pablosz/gqless-cli/0.0.9 linux-x64 node-v13.8.0
$ gqless --help [COMMAND]
USAGE
  $ gqless COMMAND
...

Commands

gqless generate [OUTPUT_DIR]

Generate a client from a GraphQL endpoint

USAGE
  $ gqless generate [OUTPUT_DIR]

OPTIONS
  -c, --config=config  Path to your gqless config file
  -h, --help           show CLI help
  -t, --typescript     output typescript (instead of javascript)
  -u, --url=url        url to the GraphQL endpoint
  --comments           output comments to type definitions (useful for IDE intellisense)

  --header=header      Additional header to send to server for introspectionQuery. May be used multiple times to add
                       multiple headers.

EXAMPLES
  $ gqless generate ./src/gqless -u https://example.com/graphql
  $ gqless generate -c gqless.config.ts

See code: dist/commands/generate.js

gqless help [COMMAND]

display help for gqless

USAGE
  $ gqless help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Current Tags

  • 0.0.10                                ...           latest (2 months ago)

8 Versions

  • 0.0.10                                ...           2 months ago
  • 0.0.9                                ...           2 months ago
  • 0.0.8                                ...           2 months ago
  • 0.0.7                                ...           2 months ago
  • 0.0.6                                ...           2 months ago
  • 0.0.5                                ...           2 months ago
  • 0.0.4                                ...           2 months ago
  • 0.0.3                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (10)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |