eightshift-libs icon indicating copy to clipboard operation
eightshift-libs copied to clipboard

Adds new command to WP CLI

Open moonbyt3 opened this issue 2 years ago • 1 comments

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'  

moonbyt3 avatar May 22 '23 07:05 moonbyt3

I will check what I can do with this

iruzevic avatar Aug 30 '23 08:08 iruzevic