Coder Social home page Coder Social logo

tools's Introduction

小工具👸👸


1.考勤统计

1.1 Installation

  • 环境

    • node
    • php
  • 安装

➜  / git clone [email protected]:doublechen/tools.git
➜  / cd /tools
➜  tools git:(master) composer install
➜  tools git:(master) cd script
➜  script git:(master) npm install

1.2 Usage

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

tools's People

Contributors

doublechen avatar

Watchers

James Cloos avatar  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.