Replies: 1 comment 1 reply
-
Does it have to be a subcommand? Can't scala-cli not inspect the name under it was called and act accordingly? Then you could have e.g.,
which looks nice, clean and idiomatic. And |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(answering #1740 (comment))
@SethTisue any suggestions for an alias?
I actually don't think it's that obscure of a jargon...
The current
shebang
sub-command has 2 main use cases:shebang
header, as per the Unix standard, for which the name seems appropriate;scala
runner.Although I believe we'll be keeping the
shebang
name, as the former usecase is the main one, I think we could potentially have an alias to make it easier to guess the second one... provided that we can think of a good name for it, of course.Would something like
run-legacy
do the trick? feels verbose to me...Also, I wonder if an alias is even necessary... if a user cares about backwards compatibility in this context when migrating from the old
scala
runner to Scala CLI, then it's probably fair to assume he's a rare specimen of a power user. Which means he should probably be okay with obscurely named sub-commands...We don't want to promote using
shebang
from the command line for regular users, they should just learn therun
syntax.Beta Was this translation helpful? Give feedback.
All reactions