-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the readme to be more descriptive. Updated the get-report.js …
…to be UTC based. Removed get-task-time. Will rebuild later
- Loading branch information
Showing
4 changed files
with
92 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,66 @@ | ||
# Road Map | ||
# Timeular CLI | ||
|
||
## Requirements | ||
|
||
You have to have a [Timeular](https://timeular.com) account, using the Timeular app. Their device is optional (but badass) | ||
|
||
## Installation | ||
|
||
Update your .bashrc or .zshrc to include the following environment variables: | ||
|
||
``` | ||
export TIMEULAR_API_KEY="XXXXXXXXXX" | ||
export TIMEULAR_API_SECRET="YYYYYYYYYY" | ||
``` | ||
|
||
You can get the values for these fields by visiting your [Account page](https://profile.timeular.com/#/app/account) on Timeular | ||
|
||
### via NPM | ||
|
||
``` | ||
$ npm install -g timeular-cli | ||
``` | ||
|
||
### via Yarn | ||
|
||
``` | ||
$ yarn global add timeular-cli | ||
``` | ||
|
||
## How to Use | ||
|
||
### Time Report | ||
|
||
Generates a report based on the current date, filtered by your Mentions (`@`) | ||
|
||
``` | ||
$ timeular report | ||
``` | ||
|
||
This will not show any time entries that have not been flagged by an `@` mention. For my purposes, this is useful, because I only need to clock time that I have flagged to Jira issues. | ||
|
||
Example output: | ||
|
||
``` | ||
┌───────────┬────────────────────┐ | ||
│ (index) │ Values │ | ||
├───────────┼────────────────────┤ | ||
│ AAA-166 │ 0.07 │ | ||
│ AAA-196 │ 0.6799999999999999 │ | ||
│ BBB-1 │ 0.11 │ | ||
│ INTERNAL │ 0.15 │ | ||
│ INTERNAL │ 1.2999999999999998 │ | ||
└───────────┴────────────────────┘ | ||
Total Hours: 2.3099999999999999 | ||
``` | ||
|
||
## Road Map | ||
|
||
- Set up the reporting so you can specify a date range rather than only be "today" | ||
- Get specific Activity or Mentions | ||
- Move console.log into its own library, with colors and fancy displays depending on status | ||
- Everything that the API currently does(?) | ||
|
||
## Contributors | ||
|
||
Chris Lagasse <[email protected]>, developer at Happy Cog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.