generator-craftplugin
generator-craftplugin copied to clipboard
Make GitHub repo name overrideable
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?
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.
Yes, just for the repo name. As an example:
Plugin name: Wordpressify Plugin folder: wordpressify Repo name: Craft-Wordpressify