Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-339

Help formatter framework is hard to extend.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.0
    • 1.10.0
    • Help formatter
    • None

    Description

      The current HelpFormatter implementation makes it difficult to extend and in some cases reuse components.  The goal here is to create a help formatting framework that:

      • Supports all the current format configuration options
      • Is easily tested
      • provides ability to easily define and format the options table.  This is the section of the help that currently lists the short & long option with arg name as the first column, the optional "since" column, and a description column that may contain deprecation information.
      • Provides the ability to easily add additional tables to the output.  This implies access to the text wrapping functionality and formatting functionality.
      • Ability to output multiple formats.  Current implementation only supports text output.  There has been discussion of desire for several other formats.

       

      Attachments

        Issue Links

          Activity

            People

              claude Claude Warren
              claude Claude Warren
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: