eyscode / timetracker

A command-line utility to load hours in BairesDev Time tracker
BSD 2-Clause "Simplified" License
65 stars 25 forks source link

Support for no-focal projects #9

Closed gaspo53 closed 3 years ago

gaspo53 commented 3 years ago

Current, timetracker doesn't support charging holidays, for example. If you define focal = '', it complains with: Error: Invalid value: Focal "" is not available. Choose from:

And if you remove the key: Error: Invalid value: 'focal' missing in 'options' config option

Can you add support for when no focal is provided in config?

odarbelaeze commented 3 years ago

👋🏼 @gaspo53 you should try the --pto flag.

gaspo53 commented 3 years ago

Thanks