cookbook-bundle
cookbook-bundle copied to clipboard
WIP: Content type edition examples
$ php ezpublish/console ezpublish:cookbook:create_content_type_draft my_type_identifier Content
Content type draft created with ID 46
$ php ezpublish/console -v ezpublish:cookbook:update_content_type_draft 45 \
--name "My Type Identifier" \
--description "Content type draft creation test"
Content type 46 was updated
$ php ezpublish/console -v ezpublish:cookbook:add_textline_field_definition 46 \
--identifier=field1 --name="Field 1" \
--is-required --is-searchable \
--min-length=10 --max-length=200
Added field definition to Content Type Draft #46
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
3 Code Smells
No Coverage information
32.0% Duplication