-
环境
- node
- php
-
安装
➜ / git clone git@github.com:doublechen/tools.git
➜ / cd /tools
➜ tools git:(master) composer install
➜ tools git:(master) cd script
➜ script git:(master) npm install
Usage:
excel:attendance [options] [--] <file>
Arguments:
file Excel文件路径
Options:
--month[=MONTH] 统计日期开始的月份 e.g --month=7
--cycle[=CYCLE] 考勤周期开始日期 e.g --cycle=26
- 使用
➜ cd /tools
➜ tools git:(master) php artisan excel:attendance ./data/attendance/source/7.26-8.26打卡记录.xlsx
统计已生成 /tools/Console/Commands/../../data/attendance/2018-08/
➜ tools git:(master) cd /tools/Console/Commands/../../data/attendance/2018-08/
➜ 2018-08 git:(master) ls
张三.xlsx 李四.xlsx 王五.xlsx