Files
Yeuoly 3918b377f2 refactor: streamline plugin initialization and update YAML templates for consistency (#313)
- Removed redundant flag retrieval in the plugin initialization process, simplifying the code.
- Updated permission handling to use a single `permissionRequirement` structure for better clarity and maintainability.
- Enhanced YAML templates by adding quotes around dynamic values to ensure proper formatting and prevent potential parsing issues.
2025-05-27 19:48:11 +08:00

14 lines
302 B
YAML

identity:
author: {{ .Author }}
name: {{ .PluginName }}
label:
en_US: "{{ .PluginName | SnakeToCamel }}"
description:
en_US: "{{ .PluginName | SnakeToCamel }}"
icon: icon.svg
strategies:
- strategies/{{ .PluginName }}.yaml
extra:
python:
source: provider/{{ .PluginName }}.py