How to set arguments through the command line in SBT
Suppose you want to provide externally some setting in
You could create an input task or you can set setting from the command line.
Now, let's explain how to do the 2nd choice.
Suppose you have this in your
Then from e.g. Jenkins, you could set the build number in this way:
In this example we have shown its current value, but we could you something more practical like