title: prompt for user input when running scala program with sbt
body: <p>I have a very simple scala program:</p>
  
  <pre><code>object TakeInputs {
    def main(args: Array[String]) {
      val name = readLine("What is your name?")
      println(name)
    }
  }
  </code></pre>
  
  <p>When I try to run this with
    <code>sbt "project myproject" "run-main TakeInput"</code> 
  it doesn't wait for user input and the program just finishes with 
  <code>What is your name?null</code>
  as the output.</p>
  
  <p>Is there a way to make sbt wait for user input (like what happens if "readLine" is run in sbt console)? I can provide the inputs as command line parameters but I have a lot of them and I would like to make the program more user-friendly by displaying messages indicating what the user should enter next. Thanks. </p>