-
Notifications
You must be signed in to change notification settings - Fork 13
create:global_variable
Rob Sanchez edited this page Nov 1, 2014
·
3 revisions
Create a global variable. When you have Sync Snippets installed and configured, this command will write a global variable file as well.
$ eecli create:global_variable <name> <data>
Name of global variable.
Optional. Content of global variable.
Use stdin as global variable contents.
Create a blank global variable
$ eecli create:global_variable your_global_variable_name
Create a global variable with content
$ eecli create:global_variable your_global_variable_name "your global variable content"
Pipe in content
$ eecli create:global_variable --stdin 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