Replies: 1 comment 6 replies
-
You can install scripts with JBang in a mostly similar way: And scripts are indeed cached, as are the compilation results and things like that. (You can force JBang to download/compile again using And for being able to reference scripts using shorter identifiers, that's indeed possible using HTH |
Beta Was this translation helpful? Give feedback.
-
Hi,
Sorry if the question looks trivial, but I thought someone else may have this slight confusion:
So, in Python, if I have a command-line script, I can package it with a
setup.py
and then install it withpip3 install mypackage
, which takes care of depdendencies, adding to PATH, etc... My questions is, what is the equivalent of this (i.e. installing a CLI script globally in the system) for JBang?JBang, as far as I know, can run scripts directly from web e.g. a GitHub link. In that sense, is the script cached somewhere, or it is downloaded before every execution?
In the case of app store, is the script cached, and can I access it with a shorter identifier than what I use at the time of installing?
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions