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

    • Type: Enhancement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1
    • Fix Version/s: None
    • Component/s: Fabric8 v1
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                oscerd Andrea Cosentino
                Reporter:
                joe.luo Joe Luo
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: