2.0.3 • Published 5 years ago

yunagile v2.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

yunagile-cli

npm NPM downloads NPM all downloads CNPM all downloads GitHub last commit GitHub closed issues Join the chat at https://gitter.im/qq476743842-yunagile-cli/chat

一个基于 Node.js 的app脚手架工具

安装

npm i yunagile -g
或
cnpm i yunagile -g

所有命令

$ yunagile -h

Usage: index [options] [command]

Options:
  -V, --version     output the version number
  -h, --help        output usage information
 
Commands:
  login             登录至软捷后台!(只需登录一次,以后将会自动登录)
  relogin           强制重新登录!
  logout            退出登录!
  create            生成新的p9项目或者app项目
  notice [options]  通知公告
  daily [options]   日报功能(查日报,写日报)

登录

$ yunagile login

登录在进行首次操作时,需要先执行 yunagile login 命令,该命令登录过一次之后将会记住密码,下次调用yunagile login 时将自动登录

强制登录

$ yunagile relogin

强制重新登录

退出登录

$ yunagile logout

退出登录

通知公告

$ yunagile notice -h

Usage: notice [options]

通知公告

Options:
  -v,--view   查看通知公告
  -h, --help  output usage information

查看通知公告

$ yunagile notice -v

使用该命令即可查看通知公告

日报功能

$ yunagile daily -h

Usage: daily [options]

日报功能(查日报,写日报)

Options:
  -v,--viewself          查看我的日报
  -o,--viewother         查看他人的日报
  -w,--writeday [value]  写日报
  -s,--search [value]    搜索关键字
  -p,--project           查找项目
  -h, --help             output usage information

项目查询

$ yunagile daily -p             //查询所有项目
$ yunagile daily -p -s 长安      //模糊查询项目

日报填写

$ yunagile daily -w

注:该命令需要与dayreport.json模板进行配合使用,dayreport.json模板内容如下:

{
	"date":"2019-02-25",
	"content":"1.测试日报\n2.测试内容",
	"project":[{
		"name":"天津中环",         //可随意填写
		"code":"20171215027",     //项目编码,可通过yunagile daily -p -s 查找
		"pt":"100"                //项目占比
	}]
}

该模板文件必须在执行命令的目录下,如下图:

当前执行命令的路径即是:C:\Users\Administrator\ 所以模板文件应该复制到该目录下

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago