v1.3.0
Command Option Added: -rmpath
-rmpath <path[,path...]>
: Remove Path Prefix (Remove the path prefix of the output file path when generating files)
This option is usually used when generating Go target. For example, if a .bb
file has go_package
option set to github.com/xaxys/bubbler/proto/rpc
, the generated file will be generated in the output/github.com/xaxys/bubbler/proto/rpc
directory. If you want to remove the path prefix github.com/xaxys/bubbler/proto/rpc
, you can set this option to github.com/xaxys/bubbler/proto
. Then the generated file will be generated in the output/rpc
directory.
It can be use like this:
bubbler -t go -rmpath github.com/xaxys/bubbler/proto -o output example.bb
Changelog
- cccf4a4 Add rmpath option