By Alvin Alexander. Last updated: January 5, 2021
On this Contributors thread I just saw this comment by Martin Odersky that I didn’t notice before: “For the moment Scala-3’s @main
only covers a small subset of what Mainargs can do. But the plan is to extend that.”
This comment came after Li Haoyi shared an example of his MainArgs library, and it seems like the implication is that the @main
annotation in Scala 3 may eventually be able to handle command-line arguments.