Croway commented on PR #17593:
URL: https://github.com/apache/camel/pull/17593#issuecomment-2765652586

   Thanks for the suggestions @tadayosi @davsclaus , I implemented what 
requested, this is a demo:
   ```
   ➜  camel init test.yaml
   ➜  ll
   total 8
   -rw-r--r--@ 1 fmariani  wheel   185B 31 Mar 11:11 test.yaml
   ➜  camel config list
   ----- Global -----
   runtime = quarkus
   ➜ camel config set runtime=spring-boot --global=false
   ➜ camel config list
   ----- Local -----
   runtime = spring-boot
   ----- Global -----
   runtime = quarkus
   ➜ l
   total 16
   drwxr-xr-x@  5 fmariani  wheel   160B 31 Mar 11:12 .
   drwxrwxrwt  10 root      wheel   320B 31 Mar 11:11 ..
   drwxr-xr-x@  2 fmariani  wheel    64B 31 Mar 11:11 .camel-jbang
   -rw-r--r--@  1 fmariani  wheel    51B 31 Mar 11:12 
camel-jbang-user.properties
   -rw-r--r--@  1 fmariani  wheel   185B 31 Mar 11:11 test.yaml
   ➜ camel export test.yaml --gav=test:test:1
   Exporting integration with the following configuration:
       --runtime=springBoot
   Generating fresh run data
   Exporting as Spring Boot project to: .
   ➜ rm -rf camel-jbang-user.properties
   ➜ camel export test.yaml --gav=test:test:1
   Exporting integration with the following configuration:
       --runtime=quarkus
   Generating fresh run data
   Exporting as Quarkus project to: .
   ```
   
   I modified the `config list` command to print both local and global 
configurations (if exists), by default the local configuration is used if 
existing.


-- 
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