nystudio107 / generator-craftplugin

generator-craftplugin is a Yeoman generator for Craft CMS plugins
MIT License
73 stars 30 forks source link

Make GitHub repo name overrideable #8

Open sjelfull opened 8 years ago

sjelfull commented 8 years ago

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?

khalwat commented 8 years ago

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.

sjelfull commented 8 years ago

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

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