REQUIRES_OPTION
This file header token allows you to specify that a particular command line option is required in order to be able to successfully generate code from the template.
File header tokens must be grouped together at the top of the template file.
Usage
<REQUIRES_OPTION>code</REQUIRES_OPTION>
Supported Options
Code |
Command Line Option |
Description |
FL |
-f l |
Include fields which are "Excluded by Language" in field loop processing. |
FO |
-f o |
Include overlay fields in field loop processing. |
FR |
-f r |
Exclude fields which are "Excluded by ReportWriter" from field loop processing. |
FT |
-f t |
Exclude fields which are "Excluded by Tookit" from field loop processing. |
FW |
-f w |
Exclude fields which are "Excluded by Web" from field loop processing. |
PREFIX |
-prefix <value> |
Prefix field names with <value>. |
SUBSET |
-subset <name> |
Only process fields belonging to the named subset. |
TF
|
-tf |
Allow template-defined folders. |
If the required command line option was not used when attempting to generate code from the template then CodeGen will display an error and will stop processing the template.
Alternate forms
None
See also
Copyright © 2018 Synergex International, Inc.