You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Marat Gubaidullin (Jira)" <ji...@apache.org> on 2022/05/02 15:26:00 UTC

[jira] [Resolved] (CAMEL-18023) camel-jbang command options from application.properties

     [ https://issues.apache.org/jira/browse/CAMEL-18023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marat Gubaidullin resolved CAMEL-18023.
---------------------------------------
    Resolution: Resolved

> camel-jbang command options from application.properties
> -------------------------------------------------------
>
>                 Key: CAMEL-18023
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18023
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Marat Gubaidullin
>            Assignee: Marat Gubaidullin
>            Priority: Major
>             Fix For: 3.17.0
>
>
> Properties in application.properties file automagically mapped to command arguments(options)
> ex: for command *build* subcommand *image* option *openshift*
> {code:java}
> camel.jbang.build.image.openshift=true
> {code}
> ex: for command *deploy* option *image*
> {code:java}
> camel.jbang.deploy.image=karavan/deploy-demo:1.0.0
> {code}
>  
>  
> Common reused options: {*}namespace{*}, *name* and *version* automagically mapped to all command/subcommand options with respective names
> {code:java}
> camel.jbang.project.namespace=development
> camel.jbang.project.name=demo
> camel.jbang.project.version=1.0.0
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)