-
Notifications
You must be signed in to change notification settings - Fork 56
以 cli 方式使用时添加交互行为 & 新增 defineConfig 定义配置 #543
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
Conversation
🦋 Changeset detectedLatest commit: 63abdd6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README-en_US.md
agents.md
上述文档需要进行同步更改
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
很好的交互性优化
|
代码已提交 |
|
一般什么时候 release ? |
* build(deps-dev): bump @types/node from 24.8.0 to 24.9.1 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.8.0 to 24.9.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 24.9.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * feat: 以 cli 方式使用时添加交互行为 & 新增 defineConfig 定义配置 (#543) * feat: 以 cli 方式使用时,如果有一个以上的配置项,则通过可交互的形式让用户自己选择要生成的 service * feat: 新增 defineConfig 函数,为定义配置时提供 ts 类型提示 * docs: 更新文档-关于 defineConfig & options.describe * docs: 更新文档-关于代码贡献 * docs: create changelog * docs: update changelog --------- Co-authored-by: 故城 <[email protected]> * chore: clean code --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Utopia <[email protected]>
已发布 |
|
谢谢 |
|
太客气啦😁 |
|
请问你使用过 uniqueKey 没有,我感觉加了你这个功能,有点冗余,我想删掉了 |
|
没有,感觉使用起来有点麻烦 |
1. 以 cli 方式使用时添加交互行为
对接多个后端服务挺常见的,提供交互式的行为让用户自己选择要生成哪些服务。
Screen-2025-10-24-135022.mp4
2. 新增 defineConfig 定义配置
这比直接 as 类型优雅