Create ACF blocks and fields from the command line!
This plugin is heavily based off of the amazing ACF Composer created for use with the Sage starter theme. The purpose of this project is to provide a similar workflow in a stand alone plugin.
To get started, navigate to wp-content/plugins/create-acf
and run composer install
.
wp create-acf field YourFieldName
Adds a new field to the /fields
directory.
wp create-acf block YourBlockName
Adds a new block to the /blocks
directory.