isaac-gros / acf-console
There is no license information available for the latest version (v0) of this package.
Generate your ACF through a terminal.
v0
2020-06-07 20:59 UTC
Requires
- php: ^7.2.5
- symfony/console: ^5.0
- symfony/filesystem: ^5.1
- symfony/yaml: ^5.1
This package is auto-updated.
Last update: 2025-05-13 06:51:12 UTC
README
Generate your ACF through a terminal.
Example
php acf.php acf:create:basic Please choose a basic field type. [0] text [1] textarea [2] number [3] email [4] url [5] password > 0 # text is now the field type. Please write the field name. Eg: my_field > background_image # background_image is now the field name. Please write the field title. Eg: My field > Background image # Background image is now the field title. Please write the field instructions. Press enter to skip. > # Ignore the instructions for now. Please write a field prepend. Press enter to skip. > pre # Defined the field prepend as 'pre'. Please write a field append. Press enter to skip. > after # Defined the field append as 'after'. Is the field required? [y/n] > y Congratulations! Your field has been created.
Configuration
You can edit the config.yaml
file to define the path to save the generated fields. In this repository the /public path is in the .gitignore
for development purposes.