Skip to content

Commit

Permalink
feat: Improving the usability of templates with subcommands
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnJeffersonWang committed Oct 8, 2024
1 parent 4943f34 commit 45cb131
Show file tree
Hide file tree
Showing 13 changed files with 2,300 additions and 9 deletions.
4 changes: 0 additions & 4 deletions tool/cmd/kitex/args/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,6 @@ func (a *Arguments) BuildCmd(out io.Writer) (*exec.Cmd, error) {
Stderr: io.MultiWriter(out, os.Stderr),
}

if err != nil {
return nil, err
}

if a.IDLType == "thrift" {
os.Setenv(EnvPluginMode, thriftgo.PluginName)
cmd.Args = append(cmd.Args, "thriftgo")
Expand Down
Loading

0 comments on commit 45cb131

Please sign in to comment.