AuHau / toggl-cli

A simple command-line interface for toggl.com

Home Page:https://toggl.uhlir.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Continuing specific entry is not allowed because of Click's validation

AuHau opened this issue · comments

Credit to @StanczakDominik

This allows toggl continue Presentation from the command line to work properly.

On my system, passing that in resulted in:

Error: Invalid value for "[DESCR]": Unknown Time entry under specification 'Presentation'!
While the Presentation entry is definitely found in existing entries (as checked via the -d flag). Without the click type check, it works nicely. I'm not sure if I broke any existing functionality with that change, but it hasn't crashed on me yet.

Back to the presentation! 😄

Fixed with #109