You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can only generate fixed blocks that are located in libs using CLI, for example: wp boilerplate use_block --name=button. When you have block with some other custom name, you must generate example block and manually rename everything.
Describe the solution you'd like
Solution could be to allow custom block names in command. For example, wp boilerplate use_block --name=my-custom-block would take example template and rename everything so we don't have to.
It could save as some time and nerves.
Screenshots, screen recording, code snippet
No response
Environment info
PHP: 7.4
Environment: Valet
Server: nginx
OS: macOS Big Sur
Please confirm that you have searched existing issues in this repo.
Yes
Please confirm that you have searched in our documentation and couldn't find the answer.
Yes
The text was updated successfully, but these errors were encountered:
simun-ivanac
changed the title
CLI command for generating blocks that doesn't exist in libs
CLI command for generating blocks that don't exist in libs
Apr 14, 2022
Describe your feature request
We can only generate fixed blocks that are located in libs using CLI, for example:
wp boilerplate use_block --name=button
. When you have block with some other custom name, you must generate example block and manually rename everything.Describe the solution you'd like
Solution could be to allow custom block names in command. For example,
wp boilerplate use_block --name=my-custom-block
would take example template and rename everything so we don't have to.It could save as some time and nerves.
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in this repo.
Yes
Please confirm that you have searched in our documentation and couldn't find the answer.
Yes
The text was updated successfully, but these errors were encountered: