matanox
matanox

Reputation: 13686

How to create sbt task that passes arguments to "run"

I would like to create an sbt task, that would be equivalent to run -Dfoo=bar. (in case you have never used it, -D just injects a configuration override). How should that be done?

In case it matters, only sbt 13.7 and up...

Upvotes: 1

Views: 780

Answers (1)

Dale Wijnand
Dale Wijnand

Reputation: 6092

I think you're after Input Tasks, I've never used them before but I'm pretty sure that'll give you everything and more for what you're after.

Upvotes: 1

Related Questions