clikt v2.0.0 Release Notes

Release Date: 2019-05-12 // over 1 year ago
  • 2019-05-12

    ➕ Added

    🔄 Changed

    • 📜 If multiple -- tokens are present on the command line, all subsequent occurrences after the first are now parsed as positional arguments. Previously, subsequent -- tokens were skipped.
    • 👀 The PlaintextHelpFormatter has been replaced with CliktHelpFormatter, which is more customizable. See the docs for more info, or the new sample for an example of customizing help output to use ANSI colors.
    • Some of the properties and constructor parameters for OptionWithValues and ProcessedArgument have changed.
    • The OptionDelegate interface has changed, and GroupableOption and ParameterHolder interfaces have been added to work with option groups.
    • Parameter validation now occurs after all parameter delegates have set their values, so the lambdas passed to validate may reference other parameters.