Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
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