@lightweightform/kotlin-cli
v4.0.0-alpha.63
Published
LF Kotlin CLI Plugin
Downloads
102
Maintainers
Readme
LF-KOTLIN CLI plugin
This CLI plugin was created to solve the following challenges:
- Generate all the kotlin modules, such as schema and storage beans. These beans are generated based on the schema object always presented in LF complex forms.
- Give all the standard lf schema's validations, such as: isRequired, min, max, minLength, maxLength, etc..
- Give a simple solution to serialize/deserialize objects from JS to Kotlin and the opposite.
Commands
Below we show all commands that you could use with lf-kotlin CLI plugin:
lf-kotlin --help
- show all cli commands and options for each commandlf-kotlin generate <lfSchemaJsonFile> <outputdir> <projectName> -g <groupId> -a <artifactId>
- basic example to generate the kotlin module for some LF application