Skip to content

Offer running OFT via JBang - #635

Open
koppor wants to merge 2 commits into
mainfrom
feature/jbang_support
Open

koppor wants to merge 2 commits into
mainfrom
feature/jbang_support

Conversation

@koppor

@koppor koppor commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

I like JBang and I think, it should be possible to run it with

jbang oft@itsallcode/openfasttrace trace /path/to/directory/being/traced

And installation with

jbang app install oft@itsallcode/openfasttrace

so that one can just run

oft trace /path/to/directory/being/traced

🤖 Users can now run or install OFT with a single JBang command (jbang oft@itsallcode/openfasttrace, jbang app install oft@itsallcode/openfasttrace), without downloading a JAR or installing Java manually; it always resolves the latest release from Maven Central. README and the Linux/macOS/Windows installation guides describe this as an alternative, including how to install JBang.

Test:

  • jbang oft@itsallcode/openfasttrace/feature/jbang_support --help

AI usage: Claude Code wrote the catalog, the documentation changes and this description; it verified the alias locally against the 4.10.0 release. The author reviews every line before marking this ready.

🤖 Generated with Claude Code

Adds a JBang catalog so `jbang oft@itsallcode/openfasttrace` runs the latest release from Maven Central, and documents JBang as an installation alternative in the README and the per-OS installation guides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-project-automation github-project-automation Bot moved this to 📫 Backlog in OpenFastTrace Oct 18, 2026
@koppor
koppor marked this pull request as ready for review October 18, 2026 14:54

1. Install JBang (see the [JBang installation guide](https://www.jbang.dev/documentation/jbang/latest/installation.html) for other options):
```bash
curl -Ls https://sh.jbang.dev | bash -s - app setup

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security: Downloading something from the internet w/o signature check is dangerous. I know this somehow shows up in many manuals, but I am not comfortable with advertising it.

@@ -16,6 +16,7 @@ The user guide documentation now has automatic lateral navigation.

* #610: Allow adding plugins via configuration using `Oft.builder().addPlugin(name, jars...)`
* #612: Add support for Visual Basic in the source tag importer

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Completeness: Please add an issue ticket.


1. Install JBang (see the [JBang installation guide](https://www.jbang.dev/documentation/jbang/latest/installation.html) for other options):
```bash
curl -Ls https://sh.jbang.dev | bash -s - app setup

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security: Downloading something from the internet w/o signature check is dangerous. I know this somehow shows up in many manuals, but I am not comfortable with advertising it.

The JBang website itself advertises installation through homebrew. :-)


1. Install JBang (see the [JBang installation guide](https://www.jbang.dev/documentation/jbang/latest/installation.html) for other options):
```powershell
iex "& { $(iwr -useb https://ps.jbang.dev) } app setup"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know enough about the Windows world to know whether this method includes an authenticity check.

@github-project-automation github-project-automation Bot moved this from 📫 Backlog to 🔨 In Progress in OpenFastTrace Oct 23, 2026
@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 🔨 In Progress

Development

Successfully merging this pull request may close these issues.

2 participants