github apple/swift-argument-parser 0.3.0
ArgumentParser 0.3.0

latest releases: 1.2.1, 1.2.0, 1.1.4...
3 years ago

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] = []

Don't miss a new swift-argument-parser release

NewReleases is sending notifications on new releases.