Swift Argument Parser v0.3.1 Release Notes
Release Date: 2020-09-02 // over 3 years ago-
🛠 Fixes
- An option or flag can now declare a name with both single- and double-
dash prefixes, such as
-my-flag
and--my-flag
. Specify both names in thename
parameter when declaring your property:
@Flag(name: [.long, .customLong("my-flag", withSingleDash: true)]) var myFlag = false
- 🐎 Parsing performance improvements.
- An option or flag can now declare a name with both single- and double-
dash prefixes, such as