Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 518 Bytes

File metadata and controls

25 lines (15 loc) · 518 Bytes

make:template-tag

Template Tag Generator -- Creates a new template tag for an add-on.

Syntax

php eecli.php make:template-tag <TagName> --addon=<addon_short_name>

Options list:

    --addon=<value>
    -a <value>
        Folder for third-party add-on you want to add tag to

Examples:

Generate a template tag in an add-on:

php eecli.php make:template-tag MyNewTag --addon=my_existing_addon

Run interactively and pick the add-on when prompted:

php eecli.php make:template-tag MyNewTag