Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix wrapped & indented option, command and argument descriptions #956

Closed
wants to merge 12 commits into from
Closed

fix wrapped & indented option, command and argument descriptions #956

wants to merge 12 commits into from

Commits on May 7, 2019

  1. Copy the full SHA
    464dac5 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f3fec70 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    92114b7 View commit details
    Browse the repository at this point in the history
  4. fix lint issues

    Ephigenia committed May 7, 2019
    Copy the full SHA
    1364cf6 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2019

  1. Copy the full SHA
    da5c6fc View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2019

  1. style: fix lint error

    Ephigenia committed Jul 12, 2019
    Copy the full SHA
    25bfadc View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2019

  1. Copy the full SHA
    5ab2320 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    2264763 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2019

  1. Copy the full SHA
    a72815b View commit details
    Browse the repository at this point in the history
  2. fix description width, skip formatting when manual format

    Fixes the calculation of available space for the description of command and options where the line starting indention was missing. Now examples  reported from the issue #956 are fixed.
    
    Adds a optionalWrap method which skips wrapping and indenting the description of commands and options when they look like they are manually formatted by checking if there are line breaks followed by multiple spaces. Hopefully making commander more backwards compatible. #396
    Ephigenia committed Aug 18, 2019
    Copy the full SHA
    3c87123 View commit details
    Browse the repository at this point in the history
  3. adds tests for testing option and command descriptions

    Adds 3 test files with different cases of command and option descriptions where wrapping and indention should be skipped and also available space is checked.
    Ephigenia committed Aug 18, 2019
    Copy the full SHA
    736ee28 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2019

  1. Copy the full SHA
    fc488ea View commit details
    Browse the repository at this point in the history