You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.
__ ______ ____ _
\ \ / / _ \ / ___|| |_ _ __ __ _ _ __
\ \ /\ / /| |_) |___\___ \| __| '__/ _` | '_ \
\ V V / | __/_____|__) | |_| | | (_| | |_) |
\_/\_/ |_| |____/ \__|_| \__,_| .__/
|_|
Create a new WordPress project
? Please enter your project name (e.g. The Plugin Name): My Cool Plugin
? The plugin description:
? The plugin version (default: 1.0.0): 1.0.0
? The plugin license (default: MIT): MIT
? The plugin author's name (e.g. The Dev Company):
? The plugin author's e-mail address (e.g. [email protected]):
? The author url without https:// (e.g. the-dev-company.com):
? Use WebPack for front-end (SCSS/JS) tooling (Y/n) no
? Use PHP CodeSniffer with WP Coding Standards to validate the code for WordPress (Y/n) yes
? Use Codeception for functional, integration & acceptance tests (Y/n) yes
? Use Travis CI for automatic testing & continuous integration (Y/n) yes
Summary:
- projectName: My Cool Plugin
- description:
- pluginVersion: 1.0.0
- license: MIT
- author:
- authorEmail:
- url:
- webpack: no
- codesniffer: yes
- codeception: yes
- travisCi: yes
- vendor:
- package: my-cool-plugin
- namespace: MyCoolPlugin
- prefix: MY_COOL_PLUGIN
- lowerCasePrefix: my_cool_plugin
? Looks good? Yes
✔ 1. Operator is cloning plugin repository
✔ 2. Operator is replacing plugin data
✔ 3. Operator is installing Composer dependencies
✔ 4. Operator is cleaning up
----------------
✔ Project is created
The plugin data, namespace, prefixes has been changed according to your input.
If you use Codeception for testing then you need to configure your local testing environment in .env.testing
If you use webpack then edit the BrowserSync settings in webpack.config.js if you want to make use of it.
Please read the documentation https://github.com/wp-strap/wordpress-plugin-boilerplate if you run into any issues or if you have any questions.
You can activate the plugin in WordPress and work on it straight away. Good luck!
The text was updated successfully, but these errors were encountered:
Just tried running
npx wp-strap plugin
to initialize a plugin, went through the setup steps and filled in all the details, no errors were shown.After completing, the placeholder values haven't been replaced with the data I entered, so my plugin main file looks like this:
Log:
The text was updated successfully, but these errors were encountered: