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

cmd/gf: add command gf init xxx -a to create an empty app template folder in mono-repo #3550

Merged
merged 7 commits into from May 15, 2024

Conversation

oldme-git
Copy link
Member

@oldme-git oldme-git commented Apr 27, 2024

Dear reviewer:
新增微服务大仓模式下初始化应用(小仓)的命令:
gf init app/mono-app -a

@oldme-git oldme-git requested review from gqcn and houseme April 27, 2024 13:35
@houseme
Copy link
Member

houseme commented Apr 27, 2024

原来不是有一个多模块的创建吗?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Doesn't it turn out that there is a multi-module creation?

@oldme-git
Copy link
Member Author

原来不是有一个多模块的创建吗?

是说 gf init xxx -m 吗,这个命令是为大仓模式创建一个子服务

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Isn't there a multi-module creation?

Do you mean gf init xxx -m? This command is to create a sub-service for Okura mode

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@oldme-git Where did your template content come from? It seems that you can come from res of the single warehouse template, and then delete some files in cli. In addition, this command parameter is a bit long and can be changed to -a.

@oldme-git oldme-git changed the title cmd/gf: add gf init app/mono-app -ma cmd/gf: add gf init app/mono-app -a May 1, 2024
@oldme-git oldme-git requested a review from gqcn May 1, 2024 05:52
cmd/gf/internal/cmd/cmd_init.go Outdated Show resolved Hide resolved
cmd/gf/Makefile Outdated Show resolved Hide resolved
@oldme-git oldme-git requested a review from gqcn May 15, 2024 01:35
@gqcn gqcn merged commit d5561aa into gogf:master May 15, 2024
23 checks passed
@gqcn gqcn changed the title cmd/gf: add gf init app/mono-app -a cmd/gf: add command gf init xxx -a to initialize an app in mono-repo May 15, 2024
@gqcn gqcn changed the title cmd/gf: add command gf init xxx -a to initialize an app in mono-repo cmd/gf: add command gf init xxx -a to create an empty app template folder in mono-repo May 15, 2024
@oldme-git oldme-git deleted the enhance/cmd-gf,init branch May 20, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants