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

camel-jbang command options from application.properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • 3.17.0
    • camel-jbang
    • None
    • Unknown

    Description

      Properties in application.properties file automagically mapped to command arguments(options)
      ex: for command build subcommand image option openshift

      camel.jbang.build.image.openshift=true
      

      ex: for command deploy option image

      camel.jbang.deploy.image=karavan/deploy-demo:1.0.0
      

       

       

      Common reused options: namespace, name and version automagically mapped to all command/subcommand options with respective names

      camel.jbang.project.namespace=development
      camel.jbang.project.name=demo
      camel.jbang.project.version=1.0.0
      

      Attachments

        Activity

          People

            marat.gubaidullin@gmail.com Marat Gubaidullin
            marat.gubaidullin@gmail.com Marat Gubaidullin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: