v0.8.0: Improve configuration, add new report command, add group_by arguments and more...
What's Changed
Configuration
Added new configuration settings for customizing default command behaviors when no argument provided:
database_path = "/home/<user>/.config/boat/boat.db"
period = "all"
format = "plain"
[commands.new]
auto_start = false
[commands.start]
quick_start = true
[commands.cancel]
confirm = true
[commands.edit]
show_instructions = true
show_activity_definitions = true
confirm = true
[commands.delete]
confirm = true
[commands.list]
period = "month"
group_by = "day"
[commands.report]
period = "day"Commands
- add new command
reportto replacelist --summarymode - update
startcommand to allow to quick start a new activity if given an argument that is not purely a number (can be disabled in config file or with arguments)
boat start 1-> will start tracking time for an existing activity with ID1
boat start 'new activity'-> will create a new activity and start it (same asboat new 'new actvity --start-now) - update sensitive commands (
modify,edit,cancel,delete) to ask user for confirmation by default (can be disabled in config file or with arguments) - remove
querycommand
Args
- add
--group-by(day, week, month, year, none) inlistcommand - remove
--no-groupingargument (now use--group-by=none) - update
--periodargument to accept a date or date range - remove
--dateargument (now merged with--period) - drop support for boundary inclusion '=' in date ranges (the end date is now always included)
- add many 'toggle flags' arguments:
--start-nowand--no-start-nowfornewcommand--confirmand--no-confirmforedit,update,cancelanddeletecommands--with-instructions,--no-instructions,--with-activity-definitions,--no-activity-definitionsforeditcommand
- add support for hiding activity definitions in
editfile by setting--no-activity-definitions
Misc
- refactor and split modules
- improve test coverage (mainly using Claude)
- v0.8: Improve configuration, add new
reportcommand, addgroup_byarguments and more... by @coko7 in #5
Full Changelog: v0.7.0...v0.8.0