Skip to main content
Initialize a block

How to initialize a block template in eWizard CLI

eWizard Team avatar
Written by eWizard Team
Updated over a year ago

Use eWizard CLI to initialize a block.

1) Log in to your eWizard instance.

2) Go to the directory where you want to initialize your block.

For example, create the block directory and then:

cd block

3) Initialize your project.

wiz init

4) Select block, which is option number 6.


TIP: To skip the template selection step, initialize the block template with the wiz init block command. For more information, see the eWizard CLI command.


5) Enter the block description.


TIP: You can just press Enter to select the default values.


6) Select if you want to use ESLint.

7) Enter the name of your block and specify the author.


NOTE: If you don't specify the name, the block name remains the same as the project directory name.


Did this answer your question?