Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swagql is not a known binary #14

Open
ab-2015 opened this issue Jan 22, 2020 · 1 comment
Open

swagql is not a known binary #14

ab-2015 opened this issue Jan 22, 2020 · 1 comment

Comments

@ab-2015
Copy link

ab-2015 commented Jan 22, 2020

The following CLI style command does not work:

swagql < my.yml > my.graphql

This CLI command does work though:

node node_modules/swagql/cli.js  < my.yaml > my.graphql

We might either have to alter the documentation or create a binary (swagql) executable via npx.

@dbushong
Copy link
Member

Gotcha, yeah, just npx swagql should do the trick. It'll re-install it every time unless you do npm i -g swagql We'll update the docs one of these days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants