You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
Might be nice to offer an integration with Fig for VSCode-style terminal autocompletion (distribution seems to be as easy as storing a new .js module in ~/.fig/autocomplete; it looks like they might have some package.json integration).
// To learn more about Fig's autocomplete standard visit: https://fig.io/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec// The below is a dummy example for git. Make sure to change the file name!exportconstcompletion: Fig.Spec={name: "tql",description: "Generate a fluent TypeScript client for your GraphQL API.",args: [{name: 'schema',description: 'GraphQL schema from HTTP endpoint or local .graphql file.',// @todo discover a local dir schema via. .graphqlconfig?// generators: [// {// script: "git branch -l",// postProcess: function(out) {// return out.split('\n').map(branch => {// return { name: branch, description: "branch"}// })// }// }// ]}],subcommands: [],options: [{name: ["-v","--version"],description: "View tql version",},{name: ["-c","--client"],description: "Generate an SDK client for the API",},{name: ["-t","--tag"],description: 'Semantic versioning tag, ex. "1.0.0" (defaults to "unversioned")'},{name: ['--mutableFields'],description: 'Generate schema types and results as mutable (default is read-only).',},{name: '--module-path',description: 'Optional path to the @timkendall/tql module to be included (CDN, private registry, etc.).'}],};
The text was updated successfully, but these errors were encountered:
Might be nice to offer an integration with Fig for VSCode-style terminal autocompletion (distribution seems to be as easy as storing a new .js module in
~/.fig/autocomplete
; it looks like they might have somepackage.json
integration).The text was updated successfully, but these errors were encountered: