Open joseph-farruggio opened 1 month ago
You should be able to publish the stubs with wp acorn acf:stubs
and then delete any you aren't customizing. Let me know if it doesn't work.
I do think it'd be a nice feature in the future to make the stubs more dynamic so they could be configured in the acf-composer.php
config. Maybe a nice feature to do once Acorn v5 is out as I'd like to drop support for Acorn v3 so I can use laravel/prompts
in CLI since it requires PHP 8.1.
With the above, it'd also make it easy to do an interactive ordeal when creating blocks/fields to choose how they are configured straight from CLI. 😄
Is it possible to change the default values within $supports when generating a new block?