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

39 lines
977 B
YAML

##########################################
# Configuration file for RprtCli Command #
##########################################
tracking_service:
youtrack:
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'
# reports:
# report short name:
# table:
# header:
# # overrides for table header
# hours: Quantity
# source: <youtrack-url>
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'
locale: 'en_GB'