$ protogo dbtest -h
Usage: protogo dbtest <source-file> <interface-name>
Arguments:
<source-file> source-file
<interface-name> interface-name
Flags:
-h, --help Show context-sensitive help.
--out=STRING output filename (default "./<srcPkgName>_test.go")
--fmt whether to make the test code formatted
--spec="./dbtest.spec.yaml" the test specification in YAML
--tmpl=STRING the template to render (default to builtin template)
type Generator struct {
OutFileName string `name:"out" help:"output filename (default \"./<srcPkgName>_test.go\")"`
Formatted bool `name:"fmt" default:"true" help:"whether to make the test code formatted"`
TestSpecFileName string `name:"spec" default:"./dbtest.spec.yaml" help:"the test specification in YAML"`
TemplateFileName string `name:"tmpl" help:"the template to render (default to builtin template)"`
}