Jatoben CommandLine Versions Save

A pure Swift library for creating command-line interfaces

v2.2.0-pre1

8 years ago

Prerelease with Swift 2.2 / Swift Package Manager and Linux support. A few tests still fail on Linux, so use caution.

Other changes include:

  • Prevent reusing short or long flags (#39, #53)
  • Provide a hook for custom output formatting (#54)
  • Add support for stray values (#56)

v2.0.0

8 years ago

CommandLine v2.0.0 requires Xcode 7 / Swift 2.

  • Use new Swift 2 error handling (#19)
  • Allow callers to specify a destination and error when invoking printUsage() (#20)
  • Options can be specified with either a short flag, long flag, or both (#25)
  • Add wasSet property to Option classes (#26)

v1.2.0

8 years ago

CommandLine v1.2.0 requires Xcode 6.3 / Swift 1.2.

  • Add instructions on using frameworks in a command line tool (#11)
  • Update to Swift 1.2 (#12)
  • Fix array index out of range error when a bare - is passed (#16)
  • Add strict parsing mode (#17)

v1.0.0

9 years ago

First released version of CommandLine. Requires Xcode 6.2 / Swift 1.1.