scaffold-command
scaffold-command copied to clipboard
Generates code for post types, taxonomies, blocks, plugins, child themes, etc.
## Bug Report I am trying to create a child theme using the following command: `wp scaffold child-theme child-slug --parent_theme=parent-slug --theme_name="My child theme" --activate --path=../mywpsite/` It then throws this error:...
I'm hitting this Invalid theme slug issue when I am running wp-cli from a different folder to the Wordpress installation. My full command is: ``` ./vendor/bin/wp scaffold child-theme child-testchild4 --path=../testchild4...
## Bug Report - [X] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [X] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
It seems that `tetraweb/php:7.2` is not a valid image anymore. So we should remove this for GitLab CI script. ``` Runtime platform arch=amd64 os=linux pid=749 revision=4c96e5ad version=12.9.0 WARNING: You most...
This will change the command from: ``` "usage: $0 [db-host] [wp-version] [skip-database-creation]" ``` to ``` "Usage: $0 -d -u -p -h [db-host] -v [wp-version] -s [skip-database-creation]"; ``` Which will make...
Travis CI build config file should be updated to use Ubuntu Xenial 16.04. `dist: trusty` should be changed to `dist: xenial`. Since Trusty is EOL by Canonical. https://docs.travis-ci.com/user/reference/xenial/ https://docs.travis-ci.com/user/reference/trusty/
## Feature Request _Note: This feature request is related to [wp-cli/i18n-command/pull/198](https://github.com/wp-cli/i18n-command/pull/198)._ When scaffolding a new plugin, all the [header fields](https://developer.wordpress.org/plugins/plugin-basics/header-requirements/) are not handled, more specifically it would be great to...
Files generated by wp scaffold command are not WordPress coding standard compliant! For example cpt generated: https://github.com/wp-cli/wp-cli/issues/4589
When using the default gitlab-ci configuration the build fails for php 7.2 Steps to reproduce: - Scaffold new project using gitlab-ci integration - Commit code to gitlab repo - Test...
## Feature Request Similar to #233. Add support for adding `@wordpress/scripts` as a dev dependency, and automatically include the [setup](https://developer.wordpress.org/block-editor/packages/packages-scripts/#setup) scripts in the generated `package.json`. It'd be cool if there...