Skip to content

Commit ef9aeb4

Browse files
committed
调整脚手架
1 parent f8302de commit ef9aeb4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

external_tools/tiger/codetemplate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Usage:
124124
125125
The commands are:
126126
127-
addHandler to add a handler for Tigo projection
127+
addhandler to add a handler for Tigo projection
128128
create to create a Tigo projection
129129
conf to add a configuration for Tigo projection
130130
logger to add a logger for Tigo projection

external_tools/tiger/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func printCmdUsage(args []string) {
5656
case "conf":
5757
fmt.Print(cmdConfVerbose)
5858
break
59-
case "addHandler":
59+
case "addhandler":
6060
fmt.Print(cmdAddHandlerVerbose)
6161
break
6262
default:
@@ -75,7 +75,7 @@ func execEngine(args []string) {
7575
case "conf":
7676
execConf(args[1])
7777
break
78-
case "addHandler":
78+
case "addhandler":
7979
execAddHandler(args[1])
8080
break
8181
case "logger":
@@ -336,7 +336,7 @@ func main() {
336336
// 如果创建demo,则直接把常变量`DemoCode`注入到目标文件中就行
337337
// tiger支持的命令:
338338
// - create xxx: 创建项目
339-
// - addHandler xxx: 增加xxx命名的handler
339+
// - addhandler xxx: 增加xxx命名的handler
340340
// - conf xxx: 用xxx命名的配置文件替换现有配置文件,没有则新建
341341
// - mod: 进行go mod
342342
// - version: 获取当前Tigo版本号

0 commit comments

Comments
 (0)