Replies: 2 comments 5 replies
-
fwiw, I usually just run Scala-CLI itself to get this; it starts a REPL and the version number is in the banner:
but it's an interesting idea that scala-cli could offer a way fill in the version, perhaps via |
Beta Was this translation helpful? Give feedback.
-
@windymelt if you want the latest version, why not use the dynamic/vague directive argument? //> using scala 3 Rather than passing the full version (which you are not sure what that is), you can just pass
@SethTisue it'd be a valid feature request. I guess we could have a rule to add the |
Beta Was this translation helpful? Give feedback.
-
Hi, every time I write Scala Script, I check out for latest Scala version and write it to the Scala Script.
If
scala-cli
can detect and inject latest Scala version, I feel no pain for this.println("Hello, somehow latest Scala!")
Any ideas for this?
Beta Was this translation helpful? Give feedback.
All reactions