timingapp
v0.1.2
Published
cli for timingapp
Downloads
3
Readme
timingapp
timingapp for nodejs
Install
$ npm install timingapp
Usage
const timing = require('timingapp');
timing('pause');
timing('pause', 3600); // pause for 1 hour
timing('resume');
timing('projects');
timing('summary');
timing('summary', '2017/07/17');
timing('summary', '2017/07/06', '2017/07/17');
timing('report');
timing('report', '2017/07/17');
timing('report', '2017/07/06', '2017/07/17');
CLI
$ npm install --global timingapp
$ timingapp --help
cli for timingapp
Usage
$ timingapp [input]
Options
pause [seconds]
- Pauses tracking for the given time period
resume
- Resumes tracking
projects
- Shows all projects
summary
summary oneDay
summary startDate, endDate
- Returns usage statistics for the specified date range
report
report oneDay
report startDate, endDate
- Generates a report and saves it
Examples
$ timingapp pause 3600
$ timingapp resume
$ timingapp projects
$ timingapp summary
$ timingapp summary 2017/07/06
$ timingapp summary 2017/07/06 2017/07/17
$ timingapp report
$ timingapp report 2017/07/06
$ timingapp report 2017/07/06 2017/07/17
License
MIT © Jaewe Heo