Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wonderwp/generator
https://github.com/wonderwp/generator
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wonderwp/generator
- Owner: wonderwp
- Created: 2018-03-27T20:29:21.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2024-10-03T13:33:50.000Z (about 1 month ago)
- Last Synced: 2024-10-13T19:17:26.035Z (about 1 month ago)
- Language: PHP
- Size: 81.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WonderWp Generator
A WonderWp package that acts as a plugin generator to speed up your plugin developments.
## Documentation
Documentation available here : http://wonderwp.net/Creating_a_plugin/Generator.html
## Summary
### Plugins
#### Generating a classic plugin
`vendor/bin/wp generate-plugin --name="myPluginName" --desc="This is my plugin description" --namespace="WonderWp\Plugin\MyPluginNameSpace"`
#### Generating a Custom Post Type Plugin
`vendor/bin/wp generate-plugin --name="myPluginCPTName" --desc="This is my CPT plugin description" --namespace="WonderWp\Plugin\MyPluginCPTNameSpace" --output_type="CPT"`
### Themes
### Generating a classic theme
`vendor/bin/wp generate-theme --name="myTheme" --namespace="WonderWp\Theme\MyTheme"`
- Generating a block theme
`vendor/bin/wp generate-theme --name="myBlockTheme" --namespace="WonderWp\Theme\MyBlockTheme" --output_type="block"`