Interface CommandGroupUsageGenerator<T>

    • Method Detail

      • usage

        void usage​(GlobalMetadata<T> global,
                   CommandGroupMetadata[] groups)
            throws java.io.IOException
        Generate the help and output it on standard out
        Parameters:
        global - Global Metadata
        groups - Group path to the command
        Throws:
        java.io.IOException - Thrown if there is a problem generating usage output
      • usage

        void usage​(GlobalMetadata<T> global,
                   CommandGroupMetadata[] groups,
                   java.io.OutputStream output)
            throws java.io.IOException
        Generate the help and output it to the stream
        Parameters:
        global - Global metadata
        groups - Group path to the command
        output - Stream to output to
        Throws:
        java.io.IOException - Thrown if there is a problem generating usage output