generator-craftplugin icon indicating copy to clipboard operation
generator-craftplugin copied to clipboard

Make GitHub repo name overrideable

Open sjelfull opened this issue 9 years ago • 2 comments
trafficstars

I always give my plugins repo a prefix of Craft- and capitalise the name. Since the generator is auto-guessing the repo name from the plugin name, I always have to correct it.

Could you add a optional field for overriding the repo name?

sjelfull avatar Mar 28 '16 22:03 sjelfull

Just for the repo you mean, yes? Not for the actual folder name? Because that's named as it is because it's what it needs to be to work properly.

khalwat avatar Mar 30 '16 04:03 khalwat

Yes, just for the repo name. As an example:

Plugin name: Wordpressify Plugin folder: wordpressify Repo name: Craft-Wordpressify

sjelfull avatar Apr 01 '16 11:04 sjelfull