Cameron Fitzwater created CAMEL-22360:
-----------------------------------------
Summary: camel jbang export recursive option
Key: CAMEL-22360
URL: https://issues.apache.org/jira/browse/CAMEL-22360
Project: Camel
Issue Type: New Feature
Components: camel-jbang
Reporter: Cameron Fitzwater
*Request:*
Add {{--recursive}} flag to {{camel run}} and {{camel export}} commands for
subdirectory file discovery.
*Problem:*
Currently, {{camel run *}} and {{camel export *}} commands only discover files
at the base level of the current (or specified) directory and do not
recursively search subdirectories.
This limitation:
# *Prevents CI/CD standardization* - Requires project-specific build commands
instead of a standardized approach
# *Restricts project structure flexibility* - Forces all integration files to
be in a single directory if trying to standardize the CI
*Expected behavior with {{{}--recursive{}}}:*
project/
├── main.yaml # ✅ Found
├── routes/
│ ├── dispatch-routes.yaml # ✅ Found with --recursive
│ └── market-routes.yaml # ✅ Found with --recursive
├── shared/
│ └── common-routes.yaml # ✅ Found with --recursive
└── src/
└── main/
└── java/
└── handlers/
└── MyHandler.java # ✅ Found with --recursive
--
This message was sent by Atlassian Jira
(v8.20.10#820010)