Skip to content

secretstache/blocks-registration-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@secretstache/block-scaffolder

A CLI tool for scaffolding WordPress Gutenberg blocks with ease.

Installation

npm install -g @secretstache/block-scaffolder
# or
yarn global add @secretstache/block-scaffolder

Usage

After installation, you can use the tool by running:

scaffold-block

The tool will guide you through the process of creating a new Gutenberg block with interactive prompts.

Features

  • Interactive CLI interface
  • Automatic block registration
  • Standard block structure generation
  • Support for custom block attributes
  • Built-in best practices for WordPress block development

Development

  1. Clone the repository:
git clone https://github.com/secretstache/block-scaffolder.git
cd block-scaffolder
  1. Install dependencies:
npm install
# or
yarn install
  1. Link the package locally for development:
npm link
# or
yarn link

Now you can use scaffold-block command to test your changes locally.

License

MIT © Secret Stache Media

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published