dewhale icon indicating copy to clipboard operation
dewhale copied to clipboard

「优化」自定义生成文件名

Open TechQuery opened this issue 5 months ago • 2 comments

期待改变

@Yuyz0112 为了支持复杂项目开发,希望基于 GitHub issue form 的 YAML 配置文件,实现独立表单项填写生成代码的自定义文件名,例如:

  • https://github.com/idea2app/Next-Bootstrap-ts/blob/16a505635ab28d8e4f11c030e537403454526808/.github/ISSUE_TEMPLATE/user-bug.yaml
  • https://github.com/idea2app/Next-Bootstrap-ts/issues/new?assignees=&labels=bug&projects=&template=user-bug.yaml&title=%3Ctitle%3E

涉及代码

大致浏览了核心代码,找出几处可能涉及的修改点,但可能不全面:

https://github.com/Yuyz0112/dewhale/blob/3d073f8481cbbc6693505b45d9d28bd475e83858/prompts/ui-gen.ts#L22-L24

https://github.com/Yuyz0112/dewhale/blob/3d073f8481cbbc6693505b45d9d28bd475e83858/prompts/ui-gen.ts#L156-L158

https://github.com/Yuyz0112/dewhale/blob/3d073f8481cbbc6693505b45d9d28bd475e83858/prompts/ui-gen.ts#L206-L216

TechQuery avatar Mar 01 '24 14:03 TechQuery