scaffold-command
scaffold-command copied to clipboard
Generates code for post types, taxonomies, blocks, plugins, child themes, etc.
Per https://blog.travis-ci.com/2018-10-04-combining-linux-infrastructures, the container-based infrastructure (triggered by `sudo: false`) is now deprecated. The Travis config should be updated accordingly. This might cause other issues related to phpunit versioning, so after...
Block scaffolding exists via #88 and I think the current default is a sensible default, but a lot of us will need modern tooling. @ahmadawais has already built what a...
While working on https://github.com/swissspidy/gutenberg-i18n-block I realized that even though the generated block uses `wp.i18n`, it can't be translated. The I18N part of Gutenberg is pretty much in flux and not...
On https://developer.wordpress.org/cli/commands/scaffold/taxonomy/, the docs display `<` and `>` instead of the respective glyphs: `--theme` and `--plugin` should probably have identical formatting with regards to whether the `=` is included inside...
Adding a `composer.json` template would encourage developers to make their plugins available via Packagist, and also allow local install of dependencies. Currently, WPCS + PHPCS is made available via a...
**Issue** Currently when using `wp scaffold plugin` you are limited to the provided plugin architecture. This is not ideal where you might have your own architecture you would like to...
I don't see why a command like `wp scaffold plugin-tests` should require WordPress to be loaded. Using `WP_Fileystem` to copy/create a bunch of files seems unnecessary in this case IMO.
The scaffolded PHPUnit tests are not compatible with PHP 7.2+. This currently breaks our tests: https://travis-ci.org/wp-cli/scaffold-command/jobs/368878591#L616 There's no PHPUnit that officially supports PHP 7.2 any anything below PHP7.0 at the...
A scaffolded plugin contains a bunch of Grunt tasks which I think are unnecessary and can be removed or replaced. * `addtextdomain` Note sure if that one is really needed....
Adding one or more slashes at the end of plugin name like for example: ``` %> wp-cli scaffold plugin-tests my-plugin/ ``` runs right, but causes the creation of a corrupted...