Back to home

create-lift-module/

basic

Version: Unknown

Last Updated: Unknown


Basic Lift Template

Use this template to generate new basic Lift module templates.

Required

VariableData TypeInfo
typestringThe name of the Lift folder type
pkgstringThe name of the package
descriptionstringdescription of command

Usage

In the folder, you have the following files:

FileDoes
README.mdInfo on this template starter. Will generate nothing.
[name].md.ejs-templateWill output [name].md.ejs for use.
[name].ts.ejs-templateWill output [name].ts.ejs for use.
[pkg].ts.ejsWill output [pkg].ts to demo template generation.
README.md.ejsWill output README.md to demo template generation.
index.ts.ejsWill output index.ts to demo template generation.

Module files

1# <%= _.upperFirst(type) %> - <%= _.upperFirst(pkg) %>
2
3Use this template to <%= description %>
4
5## Required
6
7TODO: Update this section
8
9| **Variable** | **Data Type** | **Info** |
10| ------------ | ------------- | -------------------------------- |
11| `type` | `string` | The name of the Lift folder type |
12| `pkg` | `string` | The name of the package |

Install


Lift generate


Repository

https://github.com/okeeffed/pkg-lift-create-lift-module

Sections