mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 00:59:22 -05:00
23 lines
598 B
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}}
|