Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using with JBang #2

Open
edufolly opened this issue Jul 7, 2024 · 0 comments
Open

Using with JBang #2

edufolly opened this issue Jul 7, 2024 · 0 comments

Comments

@edufolly
Copy link

edufolly commented Jul 7, 2024

I saw your YT Shorts' talking about SaO and would like to contribute how to use with JBang.

It's a very simple command:

jbang run https://raw.githubusercontent.com/AdamBien/SaO.java/main/SaO.java

First run you'll be asked to trust in download:

[jbang] https://raw.githubusercontent.com/AdamBien/SaO.java/main/SaO.java is not from a trusted source thus not running it automatically.

If you trust the url to be safe to run you can do one of the following

(1) Trust once: Add no trust, only allow access to this URL for the duration of this run
(2) Trust limited url in future: https://raw.githubusercontent.com/AdamBien/SaO.java/main/
(0) Cancel

[jbang] Type in your choice and hit enter. Will automatically select option (0) after 30 seconds.
1
[jbang] Trusting for this run: https://raw.githubusercontent.com/AdamBien/SaO.java/main/
[jbang] Building jar for SaO.java...
jul. 07, 2024 12:52:11 PM SaO main

Other idea is create a short URL or a JBang catalog. 😄

Thanks for this project. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant