RprtCli/app/config/rprt.example.config.yaml

39 lines
977 B
YAML
Raw Normal View History

2021-04-05 17:20:59 +02:00
##########################################
# Configuration file for RprtCli Command #
##########################################
2021-09-21 01:13:15 +02:00
tracking_service:
2021-04-05 17:20:59 +02:00
youtrack:
2021-09-21 01:13:15 +02:00
auth_token: '<value from youtrack hub>'
base_url: 'https://test.youtrack.com'
report_id: '<89-123>'
export:
template_path: '~/.config/rprt-cli/invoice-template.html'
output: '/tmp/YYYY-mm-invoice.pdf'
tokens:
key: 'value to replace key'
another_key: 'value to replace another key'
labels:
- 'Project'
- 'Hours'
- 'Rate'
- 'Price'
2021-09-20 01:08:42 +02:00
# reports:
# report short name:
# table:
# header:
# # overrides for table header
# hours: Quantity
# source: <youtrack-url>
2021-04-05 17:20:59 +02:00
projects:
'<short name of first project>':
name: '<Project long name>'
pattern: '<pattern to match in data row>'
price: '<your wage>'
currency: 'EUR'
project column: 1
time column: 4
# time format m - minutes, h - hours
time format: 'm'
2021-09-21 01:13:15 +02:00
2021-09-20 01:08:42 +02:00
locale: 'en_GB'