Cameron Fitzwater created CAMEL-24378:
-----------------------------------------
Summary: retain directory structure
Key: CAMEL-24378
URL: https://issues.apache.org/jira/browse/CAMEL-24378
Project: Camel
Issue Type: New Feature
Reporter: Cameron Fitzwater
When utilizing camel cli, it would be beneficial if the directory path
structure could be retained upon export.
Currently, when running `camel export ... routes/to/file-a.camel.yaml`, the
base files are placed directly in /src/main/resources/camel.
This is fine for one or two files, but as it scales, keeping some level of
structure is very helpful.
The idea would be to retain the files with their entire dir structure, maybe by
use of a new flag.
_The one thing to account for is when relative paths are used, and how to
handle that scenario (specifically, anything ../ bound). Potentially, by use of
the new flag, it does not allow relative paths?_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)