Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
sbt new默认提示用户填写各种值。
有没有办法以非交互方式接受默认值,或者在命令行上指定值?
是的,您可以使用标志传递参数。例如,这是如何以非交互方式调用scalafix 模板。
sbt new scalacenter/scalafix.g8 --rewrite="reponame" --version="v1.0"