@gqless/cli
Codegen for gqless
Last updated 2 months ago by samdd .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @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 @gqless/cli
$ gqless COMMAND
running command...
$ gqless (-v|--version|version)
@gqless/cli/0.0.1-alpha.31 linux-x64 node-v10.19.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.1-alpha.31                                ...           latest (2 months ago)

22 Versions

  • 0.0.1-alpha.31                                ...           2 months ago
  • 0.0.1-alpha.30                                ...           2 months ago
  • 0.0.1-alpha.29                                ...           2 months ago
  • 0.0.1-alpha.28                                ...           2 months ago
  • 0.0.1-alpha.27                                ...           7 months ago
  • 0.0.1-alpha.25                                ...           7 months ago
  • 0.0.1-alpha.24                                ...           7 months ago
  • 0.0.1-alpha.23                                ...           7 months ago
  • 0.0.1-alpha.22                                ...           7 months ago
  • 0.0.1-alpha.21                                ...           7 months ago
  • 0.0.1-alpha.20                                ...           9 months ago
  • 0.0.1-alpha.19                                ...           9 months ago
  • 0.0.1-alpha.18                                ...           9 months ago
  • 0.0.1-alpha.17                                ...           9 months ago
  • 0.0.1-alpha.16                                ...           10 months ago
  • 0.0.1-alpha.11                                ...           10 months ago
  • 0.0.1-alpha.10                                ...           10 months ago
  • 0.0.1-alpha.9                                ...           10 months ago
  • 0.0.1-alpha.8                                ...           10 months ago
  • 0.0.1-alpha.7                                ...           10 months ago
  • 0.0.1-alpha.6                                ...           10 months ago
  • 0.0.1-alpha.2                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 22
Last Day 22
Last Week 22
Last Month 10
Dependencies (11)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |