Swift Argument Parser v0.3.0 Release Notes

Release Date: 2020-08-15 // over 3 years ago
  • โž• Additions

    • Shell completions scripts are now available for Fish.

    ๐Ÿ”„ Changes

    • 0๏ธโƒฃ 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] = []
    

    ๐Ÿš€ The 0.3.0 release includes contributions from [dduan], [MPLew-is], [natecook1000], and [thomasvl]. Thank you!