gobuffalo / buffalo

Rapid Web Development w/ Go
http://gobuffalo.io
MIT License
8.08k stars 579 forks source link

bug: Restore ability to generate plugins #2392

Closed briwagner closed 9 months ago

briwagner commented 10 months ago

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! ```
github-actions[bot] commented 9 months ago

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.

github-actions[bot] commented 9 months ago

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