Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17280

camel-jbang - Run from github using wildcards

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.15.0
    • camel-jbang
    • 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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: