【发布时间】:2016-01-11 09:48:44
【问题描述】:
喜欢这个命令
thrift -r --gen py tutorial.thrift
【问题讨论】:
喜欢这个命令
thrift -r --gen py tutorial.thrift
【问题讨论】:
使用以下依赖项在 SBT 中配置 Scrooge:
libraryDependencies += "com.twitter" %% "scrooge-core" % "4.3.0"
然后像下面这样从命令行运行它:
$ ./sbt 'scrooge-generator/run-main com.twitter.scrooge.Main <thrift-file1> [<thrift-file2> ...]'
更多详情here.
【讨论】: