Skip to content

feat: add edit, delete time entry and date filter for list#97

Open
CorrectRoadH wants to merge 1 commit intowatercooler-labs:mainfrom
CorrectRoadH:feat/time-entry-edit-delete-filter
Open

feat: add edit, delete time entry and date filter for list#97
CorrectRoadH wants to merge 1 commit intowatercooler-labs:mainfrom
CorrectRoadH:feat/time-entry-edit-delete-filter

Conversation

@CorrectRoadH
Copy link
Copy Markdown

Adds three new commands for managing time entries.

Edit a time entry

# Edit the currently running entry
toggl edit --description "New description"
toggl edit --project "My Project"
toggl edit --tags "dev meeting"

# Edit a specific entry by ID
toggl edit 4315772069 --description "Updated description"
toggl edit 4315772069 --project "Other Project" --tags "review"

# Remove project (pass empty string)
toggl edit 4315772069 --project ""

# Clear all tags (pass empty string)
toggl edit 4315772069 --tags ""

Delete a time entry

toggl delete 4315772069

Filter list by date range

# Entries from a specific day
toggl list --since 2026-03-01 --until 2026-03-01

# Entries from a date range
toggl list --since 2026-03-01 --until 2026-03-05

# Combine with --json and --number
toggl list --since 2026-03-01 --json
toggl list --since 2026-03-01 -n 5

- `toggl edit [id] [--description] [--project] [--tags]` — edit a time
  entry's fields; omit id to edit the currently running entry
- `toggl delete <id>` — delete a time entry by ID
- `toggl list --since <YYYY-MM-DD> --until <YYYY-MM-DD>` — filter time
  entries by date range
@CorrectRoadH CorrectRoadH changed the title ✨ Add edit, delete time entry and date filter for list feat: Add edit, delete time entry and date filter for list Mar 5, 2026
@CorrectRoadH
Copy link
Copy Markdown
Author

@shantanuraj PTAL. I've tested this locally and everything works as expected.

@CorrectRoadH CorrectRoadH changed the title feat: Add edit, delete time entry and date filter for list feat: add edit, delete time entry and date filter for list Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant