gobuffalo/buffalo

bug: Restore ability to generate plugins

Closed this issue · 2 comments

Description

The ability to generate plugins was lost when merging the repos.

The original code (at least some of it) was here in buffalo-plugins:

https://github.com/gobuffalo/buffalo-plugins/blob/master/cmd/generate.go

Expected Behavior

The docs here are out of date: https://gobuffalo.io/documentation/guides/plugins/

Running buffalo generate plugin ... does not produce the skeleton for a new plugin. It shows the help page for "generate" command, with the available commands:

Generate application components

Usage:
  buffalo generate [command]

Aliases:
  generate, g

Available Commands:
  action      Generate new action(s)
  mailer      Generate a new mailer for Buffalo
  resource    Generate a new actions/resource file
  task        Generate a grift task

Flags:
  -h, --help   help for generate

Actual Behavior

Displays help page.

To Reproduce

Using Buffalo v18.14

Create a new project: buffalo new sampleApp with optional flags

cd sampleApp

buffalo generate plugin samplePlugin

Additional Context

Details

Paste the output of `buffalo info` here!

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.

This issue was closed because it has been stalled for 30+7 days with no activity.