
获得徽章 0
- 现在go写得越来越顺,codegen+wire+template,写得贼舒服
写了个cli:
PS C:\Users\tim> nr --help
A helper for nr
Usage:
[command]
Available Commands:
build build the final binary
completion Generate the autocompletion script for the specified shell
gen gen some for nr
help Help about any command
init init new project from template
run run the application by command
wire wire the dependency
Flags:
-h, --help help for this command
-t, --toggle Help message for toggle
Use " [command] --help" for more information about a command.展开8点赞