JSPM

  • Created
  • Published
  • Downloads 31
  • Score
    100M100P100Q60690F
  • License Apache-2.0

LF Kotlin CLI Plugin

Package Exports

  • @lightweightform/kotlin-cli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@lightweightform/kotlin-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

LF-KOTLIN CLI plugin

This CLI plugin was created to solve the following challenges:

  1. 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.
  2. Give all the standard lf schema's validations, such as: isRequired, min, max, minLength, maxLength, etc..
  3. 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 command
  • lf-kotlin generate <lfSchemaJsonFile> <outputdir> <projectName> -g <groupId> -a <artifactId> - basic example to generate the kotlin module for some LF application