[
https://issues.apache.org/jira/browse/CAMEL-21896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-21896.
---------------------------------
Resolution: Fixed
> camel-jbang - Allow configuration preset per directory
> ------------------------------------------------------
>
> Key: CAMEL-21896
> URL: https://issues.apache.org/jira/browse/CAMEL-21896
> Project: Camel
> Issue Type: New Feature
> Components: camel-jbang
> Affects Versions: 4.10.2
> Reporter: Tadayoshi Sato
> Assignee: Federico Mariani
> Priority: Major
> Fix For: 4.12.0
>
>
> Camel CLI has {{camel config set}} command to preset parameters passed to
> {{camel run}} later:
> https://camel.apache.org/manual/camel-jbang.html#_configuration
> However, the preset config is saved at {{~/.camel-jbang-user.properties}} and
> only takes effect globally. Like common cli tools such as
> [direnv|https://github.com/direnv/direnv], it's desirable to configure the
> preset parameters per directory.
> We can simply achieve this by making the Camel CLI to first look at
> {{.camel-jbang-user.properties}} in the current directory and if found take
> precedence over {{~/.camel-jbang-user.properties}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)