jbangdev / jbang

Unleash the power of Java - JBang Lets Students, Educators and Professional Developers create, edit and run self-contained source-only Java programs with unprecedented ease.
https://jbang.dev
MIT License
1.43k stars 159 forks source link

There should be a way to display the script path from a catalog #262

Open fbricon opened 4 years ago

fbricon commented 4 years ago

I want to easily see the actual source file behind jbang lastweek@fbricon. For instance, jbang --verbose could display that it's actually calling https://github.com/fbricon/jbang-catalog/blob/master/lastweek.java behind the scene. There might even be a dedicated command to display the actual source path of a catalogued file, so it can be piped into another program

maxandersen commented 4 years ago

is jbang --verbose alias list fbricon close enough for you?

but yes, if I do agree if --verbose does not show where it actually comes from that is a bug.

fbricon commented 4 years ago

jbang --verbose alias list fbricon can help for now, as I can right-click on the URL from my terminal to open it. It's not super obvious though ;-)