github jbangdev/jbang v0.49.0

latest releases: v0.132.1, v0.132.0, v0.131.0...
5 years ago

0.49.0 (2020/10/06)

First, thanks to @rsvoboda for adding ansi coloring to alias lists!

Second, Agents are coming!

jbang now lets you write and run with javaagents.

Create an agent: jbang init -t agent myagent.java

Use the agent: jbang --javaagent=myagent.java yourapp.java

This of course also works with jbang alises, http & maven artifact support; thus you can do
the following to run your app with the Byteman agent:

jbang --javaagent=org.jboss.byteman:byteman:4.0.13=script:test.btm yourapp.java

Means you can prototype and test and agent very easily, but also distribute it easily by just
make it available via http or as maven artifact.

Note: for now the agents can not have 3rd party dependencies. Will come in future update.

Bug Fixes

  • jbang alias now again works with GAV refs (#41d3cf3e, closes #375)

Features

  • add ansi coloring to alias list (#1e761622)
  • support writing and using java agents (#9cb7d66c)

Refactor

  • minor code simplifications

Don't miss a new jbang release

NewReleases is sending notifications on new releases.