Commit Graph
27 Commits
Author SHA1 Message Date
Yim Lee 255ef66383 Change doc references (#532)
* Change doc references

Together with https://github.com/apple/swift-argument-parser/pull/531, updating GitHub pages references to those hosted by Swift Package Index.

* Change GitHub Pages reference to Swift Package Index
2023-01-09 11:17:53 -06:00
Ashkan Ebtekari 83c0ef07c3 Improved Project Status Section In Readme (#530)
* Improved Project Status Section In Readme
2022-12-10 15:53:02 -06:00
Rauhul Varma c5f71fd49f Fix argument-parser versions in Documentation (#525)
- Updates README.md and GettingStarted.md to reference
  swift-argument-parser from: 1.2.0. Additionally, adds a minimum
  supported swift version table to README.md to guide users on older
  toolchains.
2022-11-21 22:19:05 -08:00
Nate Cook fddd1c0039 Update changelog for 1.2.0 release (#518)
Update changelog for 1.2.0 release and
update README code sample for latest version

Resolves #500.
2022-11-08 13:45:58 -06:00
Nate Cook d88d4de38b Revert README code sample to latest release (#498) 2022-09-23 10:39:16 -05:00
Nate Cook 0bac2cc0f1 Allow default nil values for optional properties (#480)
This adds underscored initializers that let library users add `= nil` to
declarations of optional `@Option` and `@Argument` properties. Previously,
default values have been available for properties of non-optional types
only.

These new initializers use `_OptionalNilComparisonType` as the wrapped
value parameter, so only a `nil` literal is acceptable in the default
value position. This avoids the problem of declaring an optional property
with a non-`nil` default, which ends up negating the purpose of an optional.
2022-08-30 22:23:15 -05:00
KthandNate Cook 18b0039973 Fix Repeat's endless printing (#437)
Co-authored-by: Nate Cook <natecook@apple.com>
2022-04-02 15:13:09 -05:00
Nate Cook 055e0eaf8c Fix broken links/incorrect variance calculation (#422) 2022-03-15 12:05:09 -05:00
Nate Cook 0b17e34642 Add links to the docs to the README (#396)
* Add links to docs to the README

* Light article revisions
2022-01-28 12:58:22 -06:00
Nate Cook fd4c3b68a0 Prepare for 1.0 release (#355) 2021-09-10 19:04:33 -05:00
Nate Cook 6b2aa2748a Update CHANGELOG for release 0.5.0 (#351) 2021-09-03 12:30:52 -05:00
Nate Cook 69ddee8c32 Update changelog for 0.4.0 release (#281) 2021-03-04 15:50:42 -06:00
Nate Cook 3cc904427f Update reference to master branch (#242) 2020-09-24 14:59:35 -05:00
Nate Cook 15351c1cd0 Update changelog for 0.3.0 release (#229) 2020-08-15 13:14:52 -05:00
Nate Cook eb51f949cd Update changelog for 0.2.0 release (#194) 2020-06-23 11:02:53 -05:00
Nate Cook 35ceb59427 Nate/continue default initialization (#193)
* Use type inference for flags / options

* Use default value syntax for arg/option arrays

* Allow a default for flag arrays

* Fix some whitespace

* Allow arguments validations to warn instead of fail

* Move nonsense flag warning to argument validation

* Update guides/readme with default literal syntax
2020-06-23 10:43:50 -05:00
Nate Cook d9fc13572d Update README with correct error message (#181)
Fixes #180.
2020-06-06 18:49:51 -05:00
Nate Cook 3d79b2b5a2 Update changelog for 0.1.0 release (#178) 2020-06-03 13:56:44 -05:00
Nate CookandErik Little aad1ac085b Make ParsableCommand.run() a mutating method (#163)
Co-authored-by: Erik Little <nuclear.ace@gmail.com>
2020-06-02 14:07:16 -05:00
Nate Cook 85196ee1d8 Additional help messages (#165)
* Add 'see help' messages to usage messages and the help screen

* Update tests for new help messages.

* Update guide examples with additional help messages
2020-05-22 17:04:14 -05:00
Max 047ac93a02 Changed Readme notes about the ArgumentParser integration via SwiftPM. (#111) 2020-04-10 22:03:46 -05:00
Yu Ao 2d8a9bd1ba Fix a typo in README (#89) 2020-03-18 11:29:33 -05:00
Nate Cook be65f492ba Minor revisions to the README
Fixes #7
2020-03-06 23:51:00 -06:00
Olivier Halligon cef6cd1fc2 Add link to more documentation in README (#3)
* Add link to more documentation in README

And fix inconsistency in README (declaring conformance in type declaration but only implementing the conformance in extension)

* README: Revert changes to protocol declaration order

* Fixing additional typos in documentation

* Replace using extension with "// continued below…" comment

* Revert contractions fixes
2020-02-28 10:55:12 -06:00
Federico Zanetello f83b3d374f fix requirement name 2020-02-28 21:21:17 +07:00
Nate Cook fe504ebee9 Update links in the README 2020-02-27 17:52:20 -06:00
Nate Cook f6ac7b8118 Initial import of ArgumentParser 2020-02-27 15:45:22 -06:00