watercooler-labs / toggl-cli

🕐 Command Line App for Toggl Track
MIT License
31 stars 7 forks source link

🏗 Reuse StopCommand code for other commands #44

Closed heytherewill closed 2 years ago

heytherewill commented 2 years ago

This is a tiny refactor PR that makes the start and continue commands use the stop command to ensure that there's no running time entry. ATM we are handling time entry stop in three different places and in three different ways. This way things are more concise and DRY