Giter Club home page Giter Club logo

yunagile-cli's Introduction

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
所以模板文件应该复制到该目录下

yunagile-cli's People

Contributors

476743842 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.