Skip to content

Using with JBang #2

@edufolly

Description

@edufolly

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. 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions