0.1.4 • Published 5 years ago

tpl-stencil v0.1.4

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

tpl-stencil

This is a node command-line tool that automatically creates files from templates

Start

install

npm install -g tpl-stencil

Register the github user name, repos name, and branch name where your templates are stored

tpl config

Enter the user name, repos name and branch name as prompted

Usage

Init from template in repos

tpl init <tpl-name> [local-path]

example

tpl init myComponent src/views/components/helloComponent

The template can be a folder or a separate file. If there is no local-path, it is inited by default in the root directory with the same file name as the template file name

Create from template in local

tpl create <tplrc-name> <local-path>

example

tpl create component src/views/components/helloComponent
0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago