dominikbraun / timetrace

A simple CLI for tracking your working time.
Apache License 2.0
668 stars 75 forks source link

Limit tags for `timetrace start` #188

Closed dominikbraun closed 2 years ago

dominikbraun commented 2 years ago

The timetrace start command is used to start tracking time for a project:

timetrace start my-web-project

In the current main branch, this command also accepts tags to tag the tracked time:

timetrace start my-web-project +design +frontend

The tags are prefixed with +, for example design or frontend.

At the moment, an arbitrary number of tags is allowed. The number of those tags should be limited to 3. If there are more than 3 tags, where should be an error message for the user and time tracking shouldn't be started.