leptos-use/template/.ffizer.yaml

23 lines
598 B
YAML

variables:
- name: function_name
ask: Name of the function
- name: scope
ask: "Is the first parameter `cx: Scope`?"
select_in_values:
- "cx"
- ""
- name: category
ask: Documentation category (lower case)
- name: module
default_value: ""
ask: Module [optional]
- name: feature
default_value: ""
ask: cfg feature [optional]
ignores:
- modify_files.py
- createfn.sh
scripts:
- cmd: python3 template/modify_files.py {{ function_name }} {{ category }}{{#if module}} --module {{ module }}{{/if}}{{#if feature}} --feature {{ feature }}{{/if}}