isaac-gros/acf-console
Composer 安装命令:
composer require isaac-gros/acf-console
包简介
Generate your ACF through a terminal.
README 文档
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.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2020-06-07