-
Notifications
You must be signed in to change notification settings - Fork 13
create:category
Rob Sanchez edited this page Mar 7, 2015
·
4 revisions
Create a category.
$ eecli create:category <name> <cat_group>
The category name.
The category group ID or name.
The url title of the category.
The description of the category.
The ID of the parent category.
Create a category in the specfied group (by ID)
$ eecli create:category "16th Century" 1
Create a category in the specified group (by name)
$ eecli create:category Prehistoric "Time Periods"
Create a category with a custom url title
$ eecli create:category --url_title="16th" "16th Century" 1
Create a category with the specified parent_id
$ eecli create:category --parent_id=12 "1920s" 1
Create a category with the specified description
$ eecli create:category --description="The Roaring 20s" "1920s" 1
Create a category with one (or more) custom category fields
$ eecli create:category --your_category_field="The Roaring 20s" "1920s" 1
- 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