[`config`] Added `config.get_config_file` action.

This commit is contained in:
Fabio Manganiello 2023-10-17 16:37:59 +02:00
parent 20a2203e7e
commit 66cba233e5
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 7 additions and 0 deletions

View File

@ -59,5 +59,12 @@ class ConfigPlugin(Plugin):
"""
return Config.get('device_id')
@action
def get_config_file(self) -> str:
"""
Get the path to the main configuration file.
"""
return Config._instance.config_file
# vim:sw=4:ts=4:et: