commands
Basic Commands
Use cwgo doc -h
to view usage details:
Specification
idl Specify the main IDL path required for code generation
module/-mod Specify the go mod name, which must be specified outside of GOPATH. In GOPATH, the default name is the path relative to GOPATH
out_dir Specify the code output directory, which defaults to the command execution directory
model_dir Specify the model code directory generated by thriftgo or protoc, which defaults to biz/doc/model
dao_dir Specify the directory for the generated doc curd code, which defaults to biz/doc/dao
name Specify the document type database name for generating code, default to mongodb, currently only mongodb is supported
proto_search_path/-I Specify the IDL search directory to use when IDL type is proto
thriftgo/-t Parameters passed through to thriftgo
protoc/-p Parameters passed through to protoc
verbose Default to false, specified as true will output more detailed log content
help/-h help command