0.8.0 • Published 25 days ago

dolphin-weex-cli v0.8.0

Weekly downloads
2
License
ISC
Repository
-
Last release
25 days ago

DolphinWeex 前端脚手架工具

1、安装:

安装 dolphin-weex-cli 脚手架工具
$ npm install -g dolphin-weex-cli  

检测是否安装成功
$ dolphin --version 或者 dolphin --help 出现相关的版本和帮助信息即代表安装成功。
2、步骤说明:

以默认模版创建weex项目

$ dolphin create 或者 dolphin c , 然后根据命令行的提示输入相关的信息,即可完成代码的配置和初始化。
    ? Project name: (weex-demo-project):     自定义<项目名称>

    ❯ common:  模版一:通用模版(支持)
    commom +eslint:  模版二: 配置eslint 代码风格检查

    ? version: (0.0.1):  项目 <版本信息>

    ? description: (A weex project with dolphin weex ui):  项目 <描述>

    ? author: <作者>。

添加自定义的项目模版到个人的本地目录,类似于喜爱收藏功能,因gitlab权限问题,收藏功能暂时仅支持github创建的项目,gitlab待后续扩展支持。
 $ dolphin add 或者 dolphin a , 然后根据命令行的提示输入相关的信息,即可完成自定义模版的收藏功能。
    ? Set the custom name of the template:     <自定义模版名称>

    ? Owner/name of the template::     alibaba/weex-ui

    ? Owner/name of the template::     <分支名称> 默认分支:master         

查看收藏的模版列表
 $ dolphin list 或者 dolphin l , 然后命令行中输入模版列表的表格。

已收藏列表中的模版项目创建项目
 $ dolphin init 或者 dolphin i , 然后根据命令行的提示输入相关的信息完成操作。
    ? please input template name:   输入收藏列表中的 <模版名称>

    ? Project name:     自定义的  <项目名称>

    ? please input the author:     <作者>

    ? Where to init the project: (./):    创建 <项目路径>  默认是当前目录下

删除收藏的模版列表
 $ dolphin delete 或者 dolphin d
0.8.0

25 days ago

0.7.0

1 month ago

0.6.0

3 months ago

0.5.0

5 months ago

0.4.0

2 years ago

0.3.9

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

5 years ago