1. Home
  2. Wp-cli
  3. Scaffold plugin

This command will generate basic files and structure for a new plugin. Use --skip-tests flag to omit php unit tests in the process.

#wordpress#cli#plugin
wp scaffold plugin your-plugin-slug
copy
Full Wp-cli cheatsheet