graphql-boilerplates / node-graphql-server

Boilerplate code for scalable, production-ready GraphQL servers
788 stars 148 forks source link

CLI for GraphQL has changed #505

Open rodriigovieira opened 5 years ago

rodriigovieira commented 5 years ago

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.

phuongthuan commented 5 years ago

@rodriigovieira same

jacobfike commented 5 years ago

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

waptik commented 5 years ago

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?