Swiftpack.co - Package - elegantchaos/Arguments

Arguments

Swift Argument parsing.

Uses Docopt for the heavy lifting, but provides a simplified API to read options and arguments.

Github

link
Stars: 0

Dependencies

Used By

Total: 1

Releases

1.1.1 - 2020-02-10 14:44:48

Use newer Docopt which builds under Swift 5.2.

1.1.0 - 2019-06-18 17:41:05

Added ability to pass arguments in - better for testing. Removed dependency on Logger - filtering of Logger arguments should now be done before calling this library (if required)

1.0.8 - 2019-06-17 11:15:56

Updated dependent urls to include .git for consistency.

1.0.7 - 2019-04-03 11:47:48

Updated logger to fix warnings.

1.0.6 - 2019-04-03 11:47:25

Updated docopt.swift to fix warnings.

1.0.5 - 2018-12-11 17:58:06

Updated to Docopt 0.6.9.

1.0.4 - 2018-08-10 22:24:27

Added expectedArgument which throws if the argument is missing.

1.0.3 - 2018-08-10 22:07:37

Slightly expanded the option api. Strictly speaking this is a break change to the api, so should be 2.0.0; but I'm hoping that nobody else is actually using this yet :)

1.0.2 - 2018-07-04 15:53:24

Pass in the version number.

1.0.1 - 2018-06-14 09:21:18

Added support for altering the argument values, and for setting up without using Docopt.

1.0.0 - 2018-06-08 12:21:48

Initial release.