Describe the bug
Attributes defined in jbang-catalog.json should but appended to the end of the command.
To Reproduce
The below jbang-catalog.json results with
-
Create the following jbang-catalog.json
{
"aliases": {
"camel": {
"script-ref": "org.apache.camel:camel-jbang-main:4.8.3",
"main": "main.CamelJBang",
"arguments": ["--quarkus-version=3.16.0"]
}
}
}
-
run the command jbang camel@apache/camel run * --runtime=quarkus. It will produce jbang9236616212127187886.args
-classpath
"(...)"
main.CamelJBang
--quarkus-version=3.17.0 <--- this should go at the end
run
.camel-jbang
.camel-jbang-run
somefile.camel.yaml
jbang-catalog.json
--runtime=quarkus
JBang version
[jbang] [0:664] jbang version 0.121.0