leptos-use/template/.ffizer.yaml

23 lines
684 B
YAML
Raw Permalink Normal View History

2023-06-16 19:33:55 +01:00
variables:
- name: function_name
ask: Name of the function
- name: category
ask: Documentation category (lower case)
2023-07-28 21:03:18 +01:00
- name: unstable_apis
default_value: "false"
ask: Does the function require `--cfg=web_sys_unstable_apis` to be activated?
select_in_values: ["true", "false"]
2023-06-16 19:33:55 +01:00
- name: module
default_value: ""
ask: Module [optional]
- name: feature
default_value: "{{ function_name }}"
ask: cfg feature
2023-06-16 19:33:55 +01:00
ignores:
- modify_files.py
2023-06-17 14:05:17 +01:00
- createfn.sh
2023-06-16 19:33:55 +01:00
scripts:
- cmd: python3 template/modify_files.py {{ function_name }} {{ category }}{{#if module}} --module {{ module }}{{/if}} --feature {{ feature }} --unstable_apis {{ unstable_apis }}