toggl-flex
v0.1.2
Published
Calculates the balance of your extra time (if using toggle).
Readme
Toggle flex time
Calculates the balance of your extra time (if using toggle).
We use two tags at our company to track this:
flex-plusif you are working overflex-minusif you are going home early
Going to /reports and applying filters etc is tedious work.
This little cli can help you track this time to see how many flexible hours you have in your balance.
Using
- Install dependencies
yarn - Compile ts -> js,
yarn compile - Go to your toggle account profile,
toggl.com/app/profile - Scroll down until you see API token, copy paste it into the
apiTokenvariable incredentials.ts - Run it
yarn run - Paste the token when prompted
TODO:
- [x] type the responses
- [x] make it work for me
- [ ] npm package, so we can use
npx - [x] able to set and store api token()
- [ ] encrypt token or something
- [ ] able to set and change default workspace
- [ ] able to set and change default tags for flex plus / flex minus
- [ ] store user id
- [ ] colors and stuf
- [ ] spinner
