Releases: marcoconti83/targone
Releases · marcoconti83/targone
Swift 4
0.8: Lowered expectations
Lowered deployment target to 10.9
0.6: A TV from 1970
- Add option to specify a predefined set of value to choose from
0.5: Hot Lazer
Fix hash function overflowing
0.4: Ochre Steel
- Values can be extracted by label without specifying the flag prefix ("--").
- Instead of asserting in case of missing value, getting a value will return nil if the value is not there.
- Hidden access to raw dictionary in
ParsingResult
, addedvalue(label:)
andvalue(label:type:)
to get values fromParsingResult
. - Fatal errors now cause the error to be printed, and the process to exit with status 2. This makes debugging scripts way easier, as the standard Swift error reporting on console is very cryptic.
- Updated README and example accordingly
Easy extraction
Changes:
- add methods to extract values from ParsingResult using labels
Types
Changes:
- Show expected parameter type, if it's not of type
String
First release
v0.1