nicolaferraro opened a new pull request #1455:
URL: https://github.com/apache/camel-k/pull/1455


   <!-- Description -->
   
   Given:
   
   file.groovy
   ```
   // camel-k: dependency=org.my:app:1.0
   
   from("...").to("...")
   ```
   
   Now `kamel run file.groovy` is equivalent to the old `kamel run file.groovy 
--dependency=org.my:app:1.0`. 
   
   The **full command is always printed** in the CLI logs.
   
   -----------------
   
   But it also works recursively across files:
   
   file1.groovy
   ```
   // camel-k: source=file2.groovy
   
   ...
   ```
   
   file2.groovy
   ```
   // camel-k: d=org.my:app:1.0
   
   ...
   ```
   
   Here `kamel run file1.groovy` is equivalent to `kamel run file1.groovy 
--source=file2.groovy --dependency=org.my:app:1.0`.
   
   
   
   How does it look?
   
   
   <!--
   Enter your extended release note in the below block. If the PR requires
   additional action from users switching to the new release, include the string
   "action required". If no release note is required, write "NONE". 
   
   You can (optionally) mark this PR with labels "kind/bug" or "kind/feature" 
to make sure
   the text is added to the right section of the release notes. 
   -->
   
   **Release Note**
   ```release-note
   NONE
   ```
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to