nikolassv / bartib

A simple timetracker for the command line. It saves a log of all tracked activities as a plaintext file and allows you to create flexible reports.
GNU General Public License v3.0
670 stars 35 forks source link

feat: make project in report accept wildcards for filtering #45

Closed simonsan closed 7 months ago

simonsan commented 8 months ago

Fixes https://github.com/nikolassv/bartib/issues/43

I also fixed two tiny clippy lints along the way in the same file.

Example:

bartib report -p maintenance::*
bartib report -p *rustic*
bartib report -p *rusti?

Would all match maintenance::rustic.

nikolassv commented 8 months ago

Thanks for the PR! This looks like a nice enhancement to reports. I never considered using hierarchical project names, but this makes a lot of sense.

I will merge it soon.

nikolassv commented 7 months ago

Thanks again for your work and you valuable input to bartib! I am sorry that it took me so long to merge your pr. Right now, I am quite busy at work, but I hope I will be able to put some more time into bartib in the near future.