This package has been deprecated

Author message:

this package has been deprecated

tpl-stencil

0.1.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tpl-stencil

Weekly Downloads

2

Version

0.1.4

License

ISC

Unpacked Size

36.2 kB

Total Files

52

Last publish

Collaborators

  • jovilin