citrus icon indicating copy to clipboard operation
citrus copied to clipboard

Add JBang support

Open christophd opened this issue 2 years ago • 1 comments

JBang is a great tool for Java scripting. JBang allows users to run Java scripts in an easy and comfortable way.

Citrus JBang would allow the user to create/run tests very fast without much of a project setup. The user may use this for rapid prototyping and as a starting point for a new Citrus project with some export functionality.

Possible commands could look like this

$ jbang citrus init hello.yaml
$ jbang citrus run hello.yaml

$ jbang citrus ls
PID      NAME  STATUS      AGE
1234.  hello     RUNNING   15s

$ jbang citrus logs hello
...

$ jbang citrus export --maven

Popular JBang implementations are the one provided by Apache Camel: https://camel.apache.org/manual/camel-jbang.html

christophd avatar Nov 06 '23 18:11 christophd

@christophd has this module (tools/jbang) been published yet? I mean, can I try and use it?

bbortt avatar Feb 15 '24 12:02 bbortt