Skip to content

tmpo pause and tmpo resume Commands #21

@DylanDevelops

Description

@DylanDevelops

The feature request

There is no current way to take a quick break and pause tracking. This would be a nice feature to have.

Proposed solution

Implementation:

Add a pause command: Sets a "paused_at" timestamp (would require a schema migration in internal/storage/db.go).

Add a resume command: Calculates the break duration and subtracts it from the final total, or creates a linked entry.

Alternatively (simpler): resume could simply find the last stopped entry and start a new entry with the exact same Project and Description.

Additional context

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions