Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timew: fix existing and add new commands #14963

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions pages/common/timew.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,30 @@
> A time tracking tool used to measure the duration of activities.
> More information: <https://timewarrior.net/docs>.

- Start a new stopwatch, giving a tag name to the activity being tracked:
- Start tracking an activity:

`timew start {{activity_tag}}`
`timew start`

- View running stopwatches:
- Tag current activity:

`timew`
`timew tag {{activity_tag}}`

- Stop the stopwatch with a given tag name:
- Start and tag a new activity being tracked:

`timew stop {{activity_tag}}`
`timew start {{activity_tag}}`

- Stop all running stopwatches:
- Stop current activity:

`timew stop`

- View tracked items:
- Track an activity in the past:

`timew track {{start_time} - {{end_time}} {{activity_tag}}`

- View tracked items of the day:

`timew summary`

- View report for last day, week, current month etc:

`timew summary :{{today|yesterday|week|lastweek|month|lastmonth|year|lastyear}}`