Package picocli

Interface CommandLine.Model.IGetter

    • Method Detail

      • get

        <T> T get()
           throws java.lang.Exception
        Returns the current value of the binding. For multi-value options and positional parameters, this method returns an array, collection or map to add values to.
        Throws:
        CommandLine.PicocliException - if a problem occurred while obtaining the current value
        java.lang.Exception - internally, picocli call sites will catch any exceptions thrown from here and rethrow them wrapped in a PicocliException