Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0

On this page

GeneratorOptions interface

Home > @keymanapp/kmc-generate > GeneratorOptions

GeneratorOptions interface

Options for the Keyman Developer project generator

Signature:

export interface GeneratorOptions 

Properties

Property Modifiers Type Description
author? string (Optional) name of the author of the keyboard
copyright? string (Optional) name of the copyright holder for the keyboard or lexical model (do not include (c) symbol or date)
description? string (Optional) description of the keyboard, Markdown permissible
icon? boolean (Optional) set to true to generate an icon for a Keyman keyboard with the first characters of the first specified BCP 47 tag
id string identifier (basename) of the keyboard or model
keymanVersion? string (Optional) version of Keyman to reference in source files, defaults to KEYMAN_VERSION.VERSION
languageTags? string[] (Optional) array of bcp 47 tags which are supported by the keyboard or lexical model
logLevel? CompilerLogLevel (Optional) Reporting level to console, used by NodeCompilerCallbacks (not used in compiler modules; all messages are still reported to the internal log)
name? string (Optional) descriptive name of the keyboard or lexical model
outPath string output path where project folder will be created
targets? KeymanTargets.KeymanTarget[] (Optional) supported platforms, only used in Keyman keyboard project generator
version? string (Optional) version of the keyboard or model, 1.0 default for Keyman keyboard, lexical model, 1.0.0 default for LDML keyboard