Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 1.64 KB

README.md

File metadata and controls

70 lines (47 loc) · 1.64 KB

CircleCI

Clockit CLI

Clockit is an CLI tool to tracking work hours

screenshot

Configuration:

1. Installing

 $ git clone git@github.com:brnbp/clockit.git

2. Rename .env.example file to .env and fulfill the following things:

- WORK_HOURS_PER_DAY    = quantity of hours worked per day

3. Install dependencies:

  $ yarn 
  or
  $ npm install

4. Make sure that the file called clockit is executable:

 $ chmod +x ./bin/clkit

5. Run tests

 $ npm test

Commands

    $ clkit init    start cli, setting up database, configs, etc

    $ clkit in      start work for current day
    $ clkit lin     breaks for lunch
    $ clkit lout    returns to work after lunch
    $ clkit out     stops work for current day

    $ clkit status  summary of work for current day

    $ clkit clear   clear all clocks from current day

    $ clkit help    summary of commands
     

Roadmap

- summary per period
- displays red/green when work hours on current day diverges from configuration
- put confirmation on each clockin (you are clockin for lunch at 12:00, are you sure? yes/no) 
    - use -y/-f for force clockin without ask confirmation
- overwrite any clockin already setted for the day
- adds notes to day
- export/import data (for backup/restore purpose)