Files
metrics/source/plugins/wakatime/metadata.yml
2021-02-02 23:20:12 +01:00

54 lines
1.5 KiB
YAML

name: "⏰ WakaTime plugin"
cost: N/A
supports:
- user
inputs:
# Enable or disable plugin
plugin_wakatime:
description: Display WakaTime stats
type: boolean
default: no
# WakaTime API token
# See https://wakatime.com/settings/account get your API key
plugin_wakatime_token:
description: WakaTime API token
type: token
default: ""
# Time range to use for displayed stats
plugin_wakatime_days:
description: WakaTime time range
type: string
values:
- 7 # Last week
- 30 # Last month
- 180 # Last 6 months
- 365 # Last year
default: 7
# Sections to display
plugin_wakatime_sections:
description: Sections to display
type: array
values:
- time # Show total coding time and daily average
- projects # Show most time spent project
- projects-graphs # Show most time spent projects graphs
- languages # Show most language
- languages-graphs # Show languages graphs
- editors # Show most used code editor
- editors-graphs # Show code editors graphs
- os # Show most used operating system
- os-graphs # Show code operating systems graphs
default: time, projects, projects-graphs, languages, languages-graphs, editors, os
# Number of entries to display per graph
# Set to 0 to disable limitations
plugin_wakatime_limit:
description: Maximum number of entries to display per graph
type: number
default: 5
min: 0