• Alejandro Escobar's avatar
    addressing issue #39427 adding a flag --output to allow for either json or yaml. · a5e6dcb4
    Alejandro Escobar authored
    updating with PR changes requested.
    
    latest changes to having short for human readable only, and error cases moved a bit to the end.
    
    rebase fixes
    
    latest pr. changes.
    
    small change moving return nil out of switch.
    
    updated the nil check for the error in the humanreadable case.
    
    more optimization in humanreadable code.
    
    pushed up current test changes, this is purely temporary
    
    finished writing tests
    
    updated test and function names.
    
    changed output extensions from .sh to output.
    
    updated version, version struct now just called Version and not VersionObj.
    
    made a few changes to testing.
    
    fixed testing issues, created better test and cleanup
    
    go format change.
    a5e6dcb4
test-cmd-util.sh 185 KB