Croway commented on a change in pull request #6583:
URL: https://github.com/apache/camel/pull/6583#discussion_r777899190



##########
File path: 
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
##########
@@ -29,6 +29,7 @@
     public static void run(String... args) {
         commandLine = new CommandLine(new CamelJBangMain())
                 .addSubcommand("run", new Run())
+                .addSubcommand("create-project", new CreateProject())

Review comment:
       Thanks for the review, I made the requested changes and the project can 
be created with
   ```
   jbang -Dcamel.jbang.version=3.15.0-SNAPSHOT CamelJBang@apache/camel create 
project TimerRoute.java test.yaml 
--quarkus-dependency=camel-quarkus-timer,camel-quarkus-log,camel-quarkus-yaml-dsl,camel-quarkus-http
 --name=TestProject
   ```
   help output from create command is
   ```
   ➜ jbang -Dcamel.jbang.version=3.15.0-SNAPSHOT CamelJBang@apache/camel create 
-h
   [jbang] Building jar...
   Usage: CamelJBang create [-h] [COMMAND]
   Creates Maven Project (use --help)
     -h, --help   Display the help and sub-commands
   Commands:
     project  Creates Camel-Quarkus project
     ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to