Open adamgundry opened 2 years ago
If you are up for a PR, just add an if in that line to check for the amount of active timesheets before asking: https://github.com/kevinpapst/kimai2-console/blob/master/src/Command/StopCommand.php#L58
Meanwhile you could also use kimai stop --all
.
Thanks very much for this tool! I'm finding it very useful.
A small quality-of-life improvement that would be nice to see: when using
kimai stop
orkimai active -d
and there is only one active timesheet, it would be nice if the prompt to select a timesheet was skipped. At the moment there is a prompt with only one option, which seems redundant: