productive-clock
v0.0.6
Published
Tired of losing time starting and stopping your timers? Or do you forget to clock stuff? This is the thing for you!
Downloads
3
Readme
Productive Clocker
Tired of losing time starting and stopping your timers? Or do you forget to clock stuff? This is the thing for you!
⚠ Warning! ⚠
This is a work in progress!
Todo
- [x] login
- [x] Save data
- [x] Create and start timer
- [x] Stop timer
- [x] Create new timer and stop running
- [ ] Start existing timer
- [ ] Reload user token and Parking Lot deal ID
- [ ] User configurable deal name
Usage
Using this simple CLI tool is very easy!
clock start "Daily meeting"
and this will start a new Parking lot timer on your Productive.io account with that description. Later on you can clock that to the correct deal, or delete the time holder. The tool also supports stopping the active parkinglot timer:
clock stop
Setup
Setting up is really easy provided you have node
installed. If you do just
run:
npm install -g productive-clock
clock login [email protected]
This will create a .productive.json
file in your home folder with your account
data.
Advanced Usage
When you start a timer, let's call it A
:
clock start "A"
and then you start another timer B
:
clock start "B"
in your productive account you'll see two Parkinglot timers (A
and B
). The
A
will be stopped, and timer B
will be running. Starting timer A
is easy:
clock start "A"
Another cool feature is specifying the deal you wish to clock on:
clock deal "Operational: Food"
The tool will offer you the list of found deals and you can pick one. running
clock deal --clear
will get back to using the Parking lot deal.