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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
(answering #1740 (comment))
@SethTisue any suggestions for an alias?
I actually don't think it's that obscure of a jargon...
The current
shebangsub-command has 2 main use cases:shebangheader, as per the Unix standard, for which the name seems appropriate;scalarunner.Although I believe we'll be keeping the
shebangname, 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-legacydo 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
scalarunner 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
shebangfrom the command line for regular users, they should just learn therunsyntax.Beta Was this translation helpful? Give feedback.
All reactions