graphql-boilerplates/node-graphql-server

CLI for GraphQL has changed

rodriigovieira opened this issue · 3 comments

I tried bootstraping a new GQL project using the graphql-cli - however, it seems the CLI has changed.

When I executed graphql create boilerplate-backend --boilerplate node-advanced, I received the "invalid arguments" error, referring to the --boilerplate option.

I believe the correct syntax now is just graphql create [directory] and the CLI'll do the rest.

What happened to using a custom boilerplate? Why was that removed?

It's still there, only the commands changed.
graphql create [directory] -p [project-name]
Then you choose the boilreplate in the next prompt

What happened to using a custom boilerplate? Why was that removed?