Skip to content

ArgumentParser 0.3.0

Compare
Choose a tag to compare
@natecook1000 natecook1000 released this 15 Aug 18:16
15351c1

Additions

  • Shell completions scripts are now available for Fish.

Changes

  • Array properties without a default value are now treated as required for the
    user of a command-line tool. In previous versions of the library, these
    properties defaulted to an empty array; a deprecation was introduced for this
    behavior in version 0.2.0.

    Migration: Specify an empty array as the default value for properties that
    should not require user input:

    // old
    @Option var names: [String]
    // new
    @Option var names: [String] = []