wp-cli / ideas

💡 Ideas and feature requests are collected here
40 stars 1 forks source link

Add wp-graphql support for scaffold cmd #157

Open guillemfondin opened 4 years ago

guillemfondin commented 4 years ago

Hi,

Using wp scaffold post-type for example, we could have a new option --graphql to generate automatically the 3 fields necessary to expose it in graphql schema like this : wp-graphql docs - register CPT