refactor: Added general config validations and timezone config

This commit is contained in:
Aerex
2020-06-03 00:04:43 -05:00
parent 00d0ea624f
commit c2e181aa75
7 changed files with 69 additions and 51 deletions

View File

@@ -1,2 +1,3 @@
logger:
file: /home/user/logger.yaml
general:
logger:
file: /home/user/logger.yaml

View File

@@ -1,7 +1,10 @@
logger:
file: /home/aerex/baikal-storage-plugin.log
level: DEBUG
taskwarrior:
taskdata: /home/aerex/.task
taskrc: /home/aerex/.taskrc
project_tag_suffix: project_
general:
logger:
file: /home/aerex/baikal-storage-plugin.log
level: DEBUG
timezone: 'America/Denver'
storages:
taskwarrior:
taskdata: /home/aerex/.task
taskrc: /home/aerex/.taskrc
project_tag_suffix: project_