eightshift-libs
eightshift-libs copied to clipboard
Adds new command to WP CLI
Description
Adds new command to WP CLI that uses dummy block template to create new block by replacing all folders, file and their contents with block name provided as argument of WP CLI command.
How to use new command:
Command for creating new block named hero:
wp boilerplate blocks rename --name='hero'
Command for creating new component named hero:
wp boilerplate blocks rename --name='hero' --component='true'
I will check what I can do with this