samg / timetrap

Simple command line timetracker
http://rubygems.org/gems/timetrap
Other
1.48k stars 115 forks source link

force stop active entry on start a new one #157

Closed rogelio-meza-t closed 6 years ago

rogelio-meza-t commented 7 years ago

Hey guys!

It is possible start a new entry and (force) stop the active entry? now I'm doing something like this t out && t in new task

Maybe something like t in --force new task would be fine

namdnguyen commented 6 years ago

Hi @rogelio-meza-t, this feature is already built into timetrap. You may need to edit your configuration file .timetrap.yml, which should be in your home directory, by setting auto_checkout to true.

Then each time you t in or t r a new entry, timetrap should automatically checkout of your currently running entry.

jostber commented 6 years ago

Seems like this can be closed as well.