title: Best way to parse command-line parameters?
body: <p>What's the best way to parse command-line parameters in Scala?
  I personally prefer something lightweight that does not require external jar.</p>
  
  <p>Related:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/367706/how-do-i-parse-command-line-arguments-in-java">How do I parse command line arguments in Java?</a></li>
  <li><a href="https://stackoverflow.com/questions/253556/what-parameter-parser-libraries-are-there-for-c">What parameter parser libraries are there for C++?</a></li>
  <li><a href="https://stackoverflow.com/questions/491595/best-way-to-parse-command-line-arguments-in-c">Best way to parse command line arguments in C#</a></li>
  </ul>