Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

teslapro-cli

zjjnly1MIT0.0.7

A simple CLI for scaffolding Tesla projects.

readme

tesla-cli

A simple CLI for scaffolding Tesla projects.

Install

$ npm install -g teslapro-cli

Usage

$ tesla <command> <template-name> [project-name]
$ tesla
$ tesla init
  #移动端通用模板 TMUI-templace 简写 tm
$ tesla init TMUI-templace project

$ tesla init tm project 
  #桌面端通用模板  TDUI-templace 简写 td
$ tesla init TDUI-templace project

$ tesla init td project 
$ tesla list
$ tesla search

... ^_^ 🔥 Thanks for use.