Skip to content

Commit

Permalink
mirc: cli cmd hit change
Browse files Browse the repository at this point in the history
  • Loading branch information
alimy committed Jul 27, 2023
1 parent 719e40c commit 0a0796d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirc/cmd/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func init() {
// parse flags for agentCmd
newCmd.Flags().StringVarP(&dstPath, "dst", "d", ".", "genereted destination target directory")
newCmd.Flags().StringVarP(&pkgName, "pkg", "p", "github.com/alimy/mir-example", "project's package name")
newCmd.Flags().StringSliceVarP(&style, "style", "s", []string{"gin"}, "generated engine style eg: gin,chi,mux,hertz,echo,iris,fiber,fiber-v2,macaron,httprouter")
newCmd.Flags().StringSliceVarP(&style, "style", "s", []string{"gin"}, "generated engine style eg: gin,chi,mux,hertz,echo,iris,fiber,macaron,httprouter")
newCmd.Flags().StringVar(&mirPkgName, "mir", "", "mir replace package name or place")
newCmd.Flags().StringVar(&mirVersion, "mir-version", "", "set mir version")
newCmd.Flags().StringVar(&engVersion, "engine-version", "", "set engine version")
Expand Down

0 comments on commit 0a0796d

Please sign in to comment.