Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One Template to Many Output #10

Open
personball opened this issue Nov 28, 2023 · 0 comments
Open

One Template to Many Output #10

personball opened this issue Nov 28, 2023 · 0 comments
Assignees
Labels
high-priority vz g For subcommand vz generate

Comments

@personball
Copy link
Owner

Is your feature request related to a problem? Please describe.

目前模板语法不支持单一模板的输出拆分成多个文件。

Describe the solution you'd like

通过指定模板文件的文件名,以类似{{array|file_each}}的语法,迭代式循环 array 元素作为文件内的本地变量,来实现多文件输出。

@personball personball self-assigned this Nov 28, 2023
@personball personball added enhancement vz g For subcommand vz generate high-priority and removed enhancement labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high-priority vz g For subcommand vz generate
Projects
None yet
Development

No branches or pull requests

1 participant