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

feat: 拆分 cmd.go 中的子命令到不同的文件 #39

Merged
merged 1 commit into from
May 15, 2024

Conversation

zzhaolei
Copy link
Contributor

@zzhaolei zzhaolei commented May 15, 2024

  1. 重命名 cmd/vmr/manager.go -> cmd/vmr/main.go
  2. 拆分 cmd/cmd.go 到 cmd/vmr/internal/cli 中

所有的子命令放在一起后期维护起来会很麻烦,所以打算按照子命令进行拆分,每个子命令是单独的目录,后续再修改或添加子命令的话会比较清晰

@moqsien moqsien merged commit b7b04e3 into gvcgo:main May 15, 2024
1 check passed
@zzhaolei zzhaolei deleted the refactor-cmd-directory branch May 15, 2024 12:26
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.

2 participants