Support for creating plugins
See original GitHub issueAfter a brief Gitter discussion I thought it might be worth starting a discussion here. The idea is to support something like au new --plugin
or au new-plugin
which would output something like https://github.com/aurelia/skeleton-plugin.
Has this already been discussed? Is there interest in adding a feature like this? I could probably start looking at it if there is.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:33 (22 by maintainers)
Top Results From Across the Web
Get Help With Plugins and Themes – WordPress.com Support
Creating and/or editing child themes. Extensive troubleshooting. More advanced support may be available from the plugin or theme's creator.
Read more >Resources for WordPress.org plugin developers
We have support forums for all of the plugins, but we often get questions about ... X-comment from +make.wordpress.org/community: Comment on Suggest Topics ......
Read more >5 Places To Get The Best Support For Your WordPress Plugins
5 Places To Get The Best Support For Your WordPress Plugins · Plugins: A Definition · Check the WordPress Plugin Repository. · Contact...
Read more >WordPress Essentials: How To Create A WordPress Plugin
Theme Or Plugin? # · Creating Our First PlugIn # · Structuring PlugIns # · Naming Your PlugIn And Its Functions # ·...
Read more >10 Best WordPress Helpdesk Plugins to Manage Support
With over 10k active installs at the time of writing, and a horde of features that will make your head spin, this plugin...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@xdvarpunen @JeroenVinke hopefully I’ll be able to get it done in the upcoming weeks
Thanks @fkleuver and @huochunpeng. I guess this bit on structure needs broken out into a few different areas: generated project structure, plugin structure, and CLI project structure.
On Project Structure I can see having separate folders being a bit confusing for the bundler and perhaps even the end user. This seems to boil down to using one of two approaches, at least for starters:
vs.
Option 1 has clear separation but decouples the
build
andrun
commands which may be counterintuitive. Option 2 doesn’t require any changes to existing commands but may require a new command to help users package their plugins for distribution.On Plugin Structure I think this should stay relatively simple and unopinionated like the application template. Something along these lines:
https://gist.github.com/CuddleBunny/a4a51c6f02a27f0219eda3ba4310e307
On CLI Project Structure I’ve been digging through this and it seems very flexible. Everything has its place so I don’t think we need to talk much through this.