Claus Ibsen created CAMEL-17280:
-----------------------------------

             Summary: camel-jbang - Run from github using wildcards
                 Key: CAMEL-17280
                 URL: https://issues.apache.org/jira/browse/CAMEL-17280
             Project: Camel
          Issue Type: New Feature
          Components: camel-jbang
            Reporter: Claus Ibsen
             Fix For: 3.15.0


We can use github rest api to fetch the files in a repo/directory, then we can 
find the files there to be included in jbang run

For example this example at

curl 
https://api.github.com/repos/apache/camel-k/contents/examples/kamelets/kameletbindings

Then we can find all supported files (eg yaml) and skip readme.md files etc

Then you can run this example with just

jbang run 
https://github.com/apache/camel-k/tree/main/examples/kamelets/kameletbindings



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to