2.0.2 • Published 7 years ago

huiyuanit-ar v2.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

huiyuanit-ar

自动写徽源esap系统工作日报草稿和提交工作日报。默认提交当前系统时间当月的,截止至今天的日报(草稿),日报的内容可以通过参数修改。使用-s参数提交草稿状态的日报。

  • 提交之前务必登录到系统中确认草稿是否无误
  • 提交草稿时一次只能提交一页,如果有超过10个未提交的草稿,请运行多次直到提示Nothing to submit

Quick Start

$ npm install -g huiyuanit-ar
$ huiyuanit-ar
Options:
  -u, --username    The esap.huiyuanit.com login username             [required]
  -p, --password    The esap.huiyuanit.com login password             [required]
  -s, --submit      Do submit draft                                    [boolean]
  -i, --project-id  The project id                     [required] [default: 144]
  -t, --trip        The trip is true                                   [boolean]
  -c, --city        The trip city, if trip is true                      [string]
  -v, --version     Print the current version                          [boolean]

Missing required arguments: u, p

Sample

$ huiyuanit-ar -u <your username> -p <your password>
DRAFT: 2016-12-1 添加成功
DRAFT: 2016-12-2 添加成功
$ huiyuanit-ar -u <your username> -p <your password> -s
SUBMIT: 382 提交成功!
SUBMIT: 383 提交成功!

Upgrade

$ npm install -g huiyuanit-ar
2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago