Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Content type edition examples #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bdunogier
Copy link
Member

$ 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

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 1, 2021

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
32.0% 32.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant