watchlistarr icon indicating copy to clipboard operation
watchlistarr copied to clipboard

Config refactor

Open glensc opened this issue 10 months ago • 1 comments

I find it more usable to have comments on separate line than the values.

BEFORE:

#sonarr:
#  baseUrl: "127.0.0.1:8989" # Base URL for Sonarr, including the 'http' and port and any configured urlbase. DEFAULT: "localhost:8989"
#  apikey: "YOUR-API-KEY" # API key for Sonarr, found in your Sonarr UI -> General settings
#  qualityProfile: "Your Desired Sonarr Quality Profile" # If not set, will grab the first one it finds on Sonarr
#  rootFolder: "/root/folder/location" # Root folder for Sonarr. If not set, will grab the first one it finds on Sonarr
#  bypassIgnored: false # Boolean flag to bypass tv shows that are on the Sonarr Exclusion List. DEFAULT: false
#  seasonMonitoring: all # Possible values under 'MonitorTypes' in sonarr.tv/docs/api. DEFAULT: all

AFTER:

#sonarr:
## Base URL for Sonarr, including the 'http' and port and any configured urlbase.
## DEFAULT: "localhost:8989"
#  baseUrl: "127.0.0.1:8989"

## API key for Sonarr, found in your Sonarr UI -> General settings
#  apikey: "YOUR-API-KEY"

## If not set, will grab the first one it finds on Sonarr
#  qualityProfile: "Your Desired Sonarr Quality Profile"

## Root folder for Sonarr. If not set, will grab the first one it finds on Sonarr
#  rootFolder: "/root/folder/location"

## Boolean flag to bypass tv shows that are on the Sonarr Exclusion List.
## DEFAULT: false
#  bypassIgnored: false

## Possible values under 'MonitorTypes' in sonarr.tv/docs/api.
## DEFAULT: all
#  seasonMonitoring: all

this makes more easier to diff for new changes, so you can see changes for comments and changes for values separately.

WDYT? Shall I send the PR?

glensc avatar Apr 07 '24 11:04 glensc