You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/01/25 05:43:00 UTC

[jira] [Assigned] (CAMEL-17280) camel-jbang - Run from github using wildcards

     [ https://issues.apache.org/jira/browse/CAMEL-17280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-17280:
-----------------------------------

    Assignee: Claus Ibsen

> 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
>            Assignee: Claus Ibsen
>            Priority: Major
>             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)