You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/01/04 08:27:30 UTC

[GitHub] [camel] Croway commented on a change in pull request #6583: CAMEL-17345: camel-jbang create maven project

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-unsubscribe@camel.apache.org

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