-
Notifications
You must be signed in to change notification settings - Fork 13
create:channel
Creates a channel. Pass in a channel short name using underscores only and optionally pass in a channel title. If you exclude the channel title, one will be auto-generated from your channel short name.
eecli create:channel <channel_name> <channel_title>
What is the short name of the channel? (ex. blog_articles)
Optional. What is the title of the channel? (ex. Blog Articles)
Which field group do you want to assign this channel to?
Which status group do you want to assign this channel to?
Which cat group(s) do you want to assign this channel to? Separate multiple with | char.
What is the url for this channel?
What is the description for this channel?
What is the default entry title for this channel?
What is the URL Title prefix for this channel?
What is the default status for this channel? Default: open.
What is the default category ID for this channel?
Do you wish to also create a new field group with the same name as the channel?
Create a channel with the short name test_channel
eecli create:channel test_channel
Create a channel with the title Test Channel
eecli create:channel test_channel "Test Channel"
Create a channel with field group 5
eecli create:channel --field_group=5 test_channel
Create a channel with status group 5
eecli create:channel --status_group=5 test_channel
Create a channel with cat group 5 and 6
eecli create:channel --cat_group="5|6" test_channel
Create a channel with new field group with same title as channel
eecli create:channel --new_field_group test_channel
- create:category
- create:category_group
- create:channel
- create:field:<fieldtype>
- create:field_group
- create:global_variable
- create:member
- create:member_group
- create:snippet
- create:status
- create:status_group
- create:template
- create:template_group
- create:upload_pref