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 2481aef
Show file tree
Hide file tree
Showing 14 changed files with 2,364 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 2481aef

Please sign in to comment.