Elektra  0.9.3
kdb-gen(1) -- Elektra's code-generator

kdb gen <templateName> <parentKey> <outputName> [parameters...]

This command invokes Elektra's code-generator.

It supports different templates. All templates require a parentKey parameter, because this determines the input for the code-generator, as well as an outputName parameter to specify the output file(s).

If the given parentKey is -, instead of actually invoking the code generator, kdb gen will just print the filenames of the files that would be written with a valid parentKey.

For more information see the list of templates below and the man-pages for each of them.

This command will return the following values as an exit status:

Currently we only have one template:

Examples can be found on the man-pages of each template.