mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 09:09:21 -05:00
22 lines
662 B
YAML
22 lines
662 B
YAML
variables:
|
|
- name: function_name
|
|
ask: Name of the function
|
|
- name: category
|
|
ask: Documentation category (lower case)
|
|
- name: unstable_apis
|
|
default_value: "false"
|
|
ask: Does the function require `--cfg=web_sys_unstable_apis` to be activated?
|
|
select_in_values: ["true", "false"]
|
|
- 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}}
|