-
Notifications
You must be signed in to change notification settings - Fork 13
delete:global_variable
Rob Sanchez edited this page Nov 1, 2014
·
4 revisions
Delete one or more global variables. You will be asked to confirm that you want to delete the specified global variable(s), unless you use the --force
option.
When you have Sync Snippets installed and configured, this command will delete the global variable file as well.
$ eecli delete:global_variable <name>
The name of the global variable(s) to delete.
Do not ask for confirmation before deleting.
Delete a global variable
$ eecli delete:global_variable your_global_variable_name
Delete multiple global variables
$ eecli delete:global_variable your_global_variable_name your_other_global_variable_name
Delete a global variable without confirmation
$ eecli delete:global_variable --force your_global_variable_name
- 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