Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5041

Add option to "fabric:requirements-export" command to indent requirements-export json output

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • None
    • jboss-fuse-6.2.1
    • Fabric8 v1
    • None
    • % %

    Description

      There is a pull request to add an option to "fabric:requirements-export" command to indent the JSON output:
      https://github.com/jboss-fuse/fabric8/pull/541

      JBossFuse:karaf@dev> requirements-export --help
      DESCRIPTION
              fabric:requirements-export
      
              Exports the current requirements metadata to a JSON file
      
      SYNTAX
              fabric:requirements-export [options] outputFile
      
      ARGUMENTS
              outputFile
                      Output file name
      
      OPTIONS
              -i, --indent
                      Indent JSON output
              --help
                      Display this help message
      

      This will enhance reading and diffing of the exported file without extra formatting steps.

      Attachments

        Activity

          People

            acosenti Andrea Cosentino
            rhn-support-qluo Joe Luo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: