blob: fd7cbcd94ef7079387beb450b0dbd5efbfcae337 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# track
Time tracker for nerds
## Installation
### Binaries
Grab binaries for different OS from https://github.com/neonxp/track/releases
### Homebrew
```
brew install neonxp/tap/track
```
### With golang
```
go install github.com/neonxp/track@latest
```
## Usage
1. Add new activity:
```
track add Activity summary [#tag1 #tag2 @context1 @context2]
```
example:
```
~ track add Work on time tracker #tracker @home
Activity #1 added! Now you can start it.
```
2. Start activity:
```
track start ID [comment]
```
example:
```
~ track start 1 Writing documentation.
Started new span for activity "Work on time tracker".
```
3. List activities:
```
track ls [--all]
```
example:
```
~ track ls
Started activities:
1. Work on time tracker
1 timespans
19:17 5.12.2021 — now (10 minutes)
```
4. Complete work on activity. if activity id empty - stop all started activities:
```
track stop [ID]
```
example:
```
~ track stop
Stopped activity "Work on time tracker".
Last duration: 12 minutes.
All spent time: 12 minutes.
```
|