Package Exports
- cabdriver
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cabdriver) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cabdriver
cabdriver is a small helper application that helps you to fill in your hours in taxi. It currently support Google Calendar, Google Mail, Slack and your local git repositories to get entries in a taxi-friendly format.
Installation
Make sure you have Node.js installed.
npm install -g cabdriverUsage
$ cabdriver -n 10 -d yesterday
02/02/2016 # Tuesday
xxx 09:00-10:00 opendata.swiss Go-Live
xxx 09:30-09:45 Jazz Daily Stand-Up
xxx 10:05-10:30 Weiteres Vorgehen Vowi
xxx 10:30-12:00 Analyse Altium
xxx 13:30-14:00 IPA-Besprechung
xxx 16:00-19:00 Byebye Apero Lukas
03/02/2016 # Wednesday
xxx 09:30-09:45 Jazz Daily Stand-Up
xxx 10:00-10:30 Support Backlog
xxx 10:45-11:30 HWZ Preplanning
xxx 14:00-15:00 HWZ DoDEntries from 01.03.2016 until 05.03.2016, max. 100 results
$ cabdriver -d 01.03.2016-05.03.2016 -n 100Google Mail
$ cabdriver -d last-month --mailSlack
Text entries:
$ cabdriver -d last-month --slackGraphic (pie chart):
$ cabdriver -d last-month --slack --graphGit
Find my commits from the 01.09.2016 in all git repositories in /home/odi/projects:
$ cabdriver -d 01.09.2016 -g /home/odi/projectsOptions
For a complete help run cabdriver --help.
-n --numbernumber of entries to return (default: 250)-d --datesupports date strings or ranges (default: today):- 31.12.2016
- 01.12.2016-31.12.2016
- yesterday
- last-week
- past-week (7 days)
- last-month (month before the current)
- past-month (30 days)
- last-year (year before the current)
- past-year (365 days)
- today (up to current time)
- this-week (up to current time)
- this-month (up to current time)
- this-year (up to current time)
-c --calendarchoose the calendar for the entries (default: primary)-m --mailgenerate entries from mails-s --slackgenerate entries from slack-g --git <path>generate entries from your local git repositories (defaults to current directory)-p --piegenerate pie chart instead of text (currently only for slack)-v --verboseverbose output
Tests
To run the tests use the following command:
npm testRelease
To create a new release follow these steps:
- Update the version number in
package.json - Create a new release/tag on GitHub
- Publish the release with npm:
npm publish
