Next revision | Previous revisionNext revisionBoth sides next revision |
module:exportcfg [2019/01/14 22:18] – created digital man | module:exportcfg [2019/01/18 17:00] – [Filtering] typo digital man |
---|
By default, ''exportcfg.js'' outputs **all** properties for **all** configured items of the chosen ''cfg-type''. | By default, ''exportcfg.js'' outputs **all** properties for **all** configured items of the chosen ''cfg-type''. |
| |
To chose which //groups// (Message Groups, File Libraries, or External Program Sections) from which to output configured items, use the ''-grp'' option. You can use the ''-grp'' option multiple times to specify multiple groups from which to output items. The groups of items will be output in their configured order (unless the ''-sort'' option is used), regardless of the order of the groups specified on the command-line. | To choose which //groups// (Message Groups, File Libraries, or External Program Sections) from which to output configured items, use the ''-grp'' option. You can use the ''-grp'' option multiple times to specify multiple groups from which to output items. The groups of items will be output in their configured order (unless the ''-sort'' option is used), regardless of the order of the groups specified on the command-line. |
jsexec msg-subs -grp main | jsexec msg-subs -grp main |
| |
To chose which //properties// to **include** in the output, pass one or more property names on the command-line (without any dashes). The properties may be specified in any order and their values will be output in the order given. | To chose which configuration //properties// to **include** in the output, pass one or more property names on the command-line (without any dashes). The properties may be specified in any order and their values will be output in the order given. |
jsexec msg-subs code name description | jsexec msg-subs code name description |
| |
| |
=== Values === | === Values === |
Configuration property values may be modified by included any of the following options on the command-line: | Configuration property values may be modified by including any of the following options on the command-line: |
^ Option ^ Default Value ^ Description ^ | ^ Option ^ Default Value ^ Description ^ |
| ''-quote'' | ''false'' | Encode quotes and other special characters in property string values (via ''JSON.stringify'') | | | ''-quote'' | ''false'' | Encode quotes and other special characters in property string values (via ''JSON.stringify'') | |
| ''-ascii'' | ''false'' | Convert CP437 (extended-ASCII) characters in string values to ASCII equivalents | | | ''-ascii'' | ''false'' | Convert CP437 (extended-ASCII) characters in string values to ASCII equivalents | |
| |
Configuration property values may be modified on a per-property basis by included any of the following options on the command-line following a property specification: | Configuration property values may be modified on a per-property basis by including any of the following options on the command-line following a property specification: |
^ Option ^ Default Value ^ Description ^ | ^ Option ^ Default Value ^ Description ^ |
| ''-upper'' | ''false'' | Convert strings to all upper-case letters | | | ''-upper'' | ''false'' | Convert strings to all upper-case letters | |