Package picocli

Interface CommandLine.IVersionProvider

    • Method Detail

      • getVersion

        java.lang.String[] getVersion()
                               throws java.lang.Exception
        Returns version information for a command.
        Returns:
        version information (each string in the array is displayed on a separate line)
        Throws:
        java.lang.Exception - an exception detailing what went wrong when obtaining version information