davsclaus opened a new pull request, #23683: URL: https://github.com/apache/camel/pull/23683
## Summary - Adds `camel dev` as a new top-level command, shorthand for `camel run --dev` - `camel dev` (no args) defaults to `--source-dir=.` so it picks up all Camel files in the current directory with live reload - `camel dev myRoute.yaml` works like `camel run --dev myRoute.yaml` - All `camel run` flags are inherited since `Dev extends Run` (same pattern as `Debug extends Run`) This follows the universal dev-command pattern: `npm run dev`, `mvn quarkus:dev`, `gradle bootRun`. ## Test plan - [x] `DevTest.shouldDefaultToDevModeWithSourceDir` — verifies `dev=true` and `sourceDir="."` when no args - [x] `DevTest.shouldNotOverrideSourceDirWhenFilesSpecified` — verifies sourceDir stays null when files given - [x] `DevTest.shouldRespectExplicitSourceDir` — verifies explicit `--source-dir` is not overridden _Claude Code on behalf of Claus Ibsen_ -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
