2023-06-16 19:33:55 +01:00
|
|
|
variables:
|
|
|
|
- name: function_name
|
|
|
|
ask: Name of the function
|
2023-06-23 22:04:16 +01:00
|
|
|
- name: scope
|
|
|
|
ask: "Is the first parameter `cx: Scope`?"
|
|
|
|
select_in_values:
|
|
|
|
- "cx"
|
|
|
|
- ""
|
2023-06-16 19:33:55 +01:00
|
|
|
- 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
|
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}}{{#if feature}} --feature {{ feature }}{{/if}}
|