Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI command for generating blocks that don't exist in libs #278

Open
simun-ivanac opened this issue Apr 14, 2022 · 0 comments
Open

CLI command for generating blocks that don't exist in libs #278

simun-ivanac opened this issue Apr 14, 2022 · 0 comments
Assignees
Labels
feature request New feature request wpcli Issues regarding WP-CLI

Comments

@simun-ivanac
Copy link

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

  • 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

@simun-ivanac simun-ivanac added the feature request New feature request label Apr 14, 2022
@simun-ivanac 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
@iruzevic iruzevic added the wpcli Issues regarding WP-CLI label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request wpcli Issues regarding WP-CLI
Projects
None yet
Development

No branches or pull requests

2 participants