Structure input files are JSON files that can be used to specify the list of structures to be processed. They are activated via the -s command line option; any item in the list of structures to process can now be a structure input file rather than a single structure name.
Structure input files must have a .json file extension, and if the file name contains spaces, enclose the whole path in double quotes.
Here is an example of a structure input file that defines three structures to be processed:
[
{ "Structure": "PROD" },
{ "Structure": "PARPROD" },
{ "Structure": "CORPRODXREF" }
]
If you use a structure input file and need to specify either alias or file override values then you must do so via the file; the -a and -fo command line options may not be used when using a structure input file. Alias names are specified by adding an "Alias" property, and file override names are specified by adding a "File" property. Here is another example:
[
{ "Structure": "PROD", "Alias": "PRODUCT", "File": "" },
{ "Structure": "PARPROD","Alias": "", "File": "" },
{ "Structure": "CORPRODXREF", "Alias": "CORPORATE_PROD_XREF", "File": "CORPRODX" }
]
The Alias and File properties are both optional. The example file below is functionally equivalent to the file above:
[
{ "Structure": "PROD", "Alias": "PRODUCT" },
{ "Structure": "PARPROD" },
{ "Structure": "CORPRODXREF", "Alias": "CORPORATE_PROD_XREF", "File": "CORPRODX" }
]
Copyright © 2021 Synergex International, Inc.