generate:plugin:rest:resource

Generate plugin rest resource

Usage:

$ drupal generate:plugin:rest:resource [options]
$ gprr

Available options

Option Details
--module The Module name.
--class Plugin Rest Resource class
--name commands.generate.service.options.name
--plugin-id Plugin Rest Resource id
--plugin-label Plugin Rest Resource Label
--plugin-url Plugin Rest Resource URL
--plugin-states Plugin Rest Resource States