16 releases (5 breaking)
new 0.8.1 | Apr 10, 2025 |
---|---|
0.7.4 | Apr 8, 2025 |
0.5.5 | Apr 7, 2025 |
0.3.3 | Apr 6, 2025 |
0.1.1 | Apr 4, 2025 |
#127 in Authentication
1,020 downloads per month
54KB
1K
SLoC
Tempie
A command-line tool for tracking time in Jira using Tempo.
The tempie list
command output example:
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ April 24h40m/176h (-151h20m) │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Monday (2025-04-07) │
├────────┬──────────┬─────────────────────┬───────────────────┬─────────────────────────────────────────────────┤
│ ID │ Duration │ Created At │ Description │ Issue URL │
├────────┼──────────┼─────────────────────┼───────────────────┼─────────────────────────────────────────────────┤
│ 150937 │ 10m │ 2025-04-07 09:42:21 │ Daily meeting │ https://xxx.jira.com/browse/ST-16 │
├────────┼──────────┼─────────────────────┼───────────────────┼─────────────────────────────────────────────────┤
│ 150938 │ 10m │ 2025-04-07 09:47:26 │ Review solution │ https://xxx.jira.com/browse/DCD-52 │
├────────┼──────────┼─────────────────────┼───────────────────┼─────────────────────────────────────────────────┤
│ 150941 │ 1h10m │ 2025-04-07 11:07:25 │ All stuff meeting │ https://xxx.jira.com/browse/ST-16 │
├────────┴──────────┴─────────────────────┴───────────────────┴─────────────────────────────────────────────────┤
│ 1h30m/8h │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Installation
cargo install tempie
Or install a specific version:
cargo install tempie@0.3.1
Usage
Setup
First, you need to configure your Jira credentials:
tempie setup
This will guide you through the setup process.
Log Time
Log time to a Jira issue:
tempie log XXX-123 1h30m "Worked on feature implementation"
Arguments:
XXX-123
: Jira issue key1h30m
: Time spent (e.g 30m, 1h30m, 1d)"Worked on..."
: Optional description
List Worklogs
View your worklogs:
tempie list
By default, it shows today's worklogs. You can specify a date:
tempie list 2024-03-01
List Worklogs by Date Range
View worklogs for a specific date range:
tempie list-range 2024-03-01 2024-03-31
Delete Worklog
Remove a worklog by its ID(s). You can provide one or more IDs:
tempie delete 12345 67890
You can get the ID from the list
command.
Development
Building
cargo build
Running Tests
cargo test
License
MIT License - see LICENSE for details.
Dependencies
~16–29MB
~438K SLoC