jbang icon indicating copy to clipboard operation
jbang copied to clipboard

add a //JBANG 0.119+ option?

Open maxandersen opened this issue 5 months ago • 3 comments

we generally are quite forward compatible but when we start adding support for exclusions and scopes things will break weirdly for some users ...made me think we probably would be well off allowing users to express minimum jbang version needed.

Like //JBANG 0.119+ and if jbang can't honor that fail with informative error message on updating to that version?

maxandersen avatar Jul 30 '25 09:07 maxandersen

Sure.... but I predict nobody will ever use it ;-)

I think it requires too much internal JBang knowledge, that only vanishingly small percentage of our users will have, to correctly use.

quintesse avatar Jul 30 '25 11:07 quintesse

Sure - Not until they need it of course :)

maxandersen avatar Jul 30 '25 11:07 maxandersen

Sure, but they might think it easier to tell their users: "make sure you've got the latest JBang version installed!"

Once you've noticed that you need it and you added it to your script your users probably have already updated :-D

quintesse avatar Jul 30 '25 14:07 quintesse