{"adoption": {"forks": 406, "observed_at": "2026-08-28T04:08:17.818850+00:00", "stars": 3757}, "canonical_url": "https://ross.abutalabs.com/products/swift-argument-parser", "card": {"archived": false, "artifact_type": "library", "description": "Straightforward, type-safe argument parsing for Swift", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["cli", "parser", "developer-tools"], "health_score": 100, "homepage": "https://swiftpackageindex.com/apple/swift-argument-parser/documentation", "language": "Swift", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["apple/swift-argument-parser"], "name": "apple/swift-argument-parser", "platform": ["cross-platform"], "pushed_at": "2026-08-26T19:55:19+00:00", "repo": "apple/swift-argument-parser", "stars": 3757, "tags": ["argument-parsing", "property-wrappers", "type-safe", "swift-package", "command-line", "swift", "macos", "linux"], "topics": ["cli", "command-line", "flag", "option"], "urls": [], "use_cases": ["parse command-line arguments in a Swift CLI tool", "generate --help output automatically for a command-line utility", "define CLI flags and options with type safety", "build subcommand-based command-line tools in Swift", "handle CLI input validation with useful error messages"], "what_it_is": "A Swift library from Apple for type-safe command-line argument parsing using property wrappers and the ParsableCommand protocol. It automatically generates usage help, error messages, and flag/option handling from declarative type definitions.", "when_to_avoid": ["you are building a GUI or web application, not a CLI", "your project is not in Swift", "you need extremely lightweight parsing and prefer hand-rolled argv handling"], "when_to_choose": ["you are writing a command-line tool in Swift and want declarative, type-safe argument parsing", "you want automatic help text, usage strings, and error messages generated from your types", "you need subcommands and async command support in a Swift CLI"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swift-argument-parser", "repo": "apple/swift-argument-parser", "role": "main", "score": 93}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:28:55.729689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d22aab2fe42865f346befacbfef37a447fe643d26d19a5352cef43420c7d89c", "fetched_at": "2026-08-28T04:08:17.818850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-argument-parser"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:28:55.729689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d22aab2fe42865f346befacbfef37a447fe643d26d19a5352cef43420c7d89c", "fetched_at": "2026-08-28T04:08:17.818850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-argument-parser"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:28:55.729689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d22aab2fe42865f346befacbfef37a447fe643d26d19a5352cef43420c7d89c", "fetched_at": "2026-08-28T04:08:17.818850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-argument-parser"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:28:55.729689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d22aab2fe42865f346befacbfef37a447fe643d26d19a5352cef43420c7d89c", "fetched_at": "2026-08-28T04:08:17.818850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-argument-parser"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:28:55.729689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d22aab2fe42865f346befacbfef37a447fe643d26d19a5352cef43420c7d89c", "fetched_at": "2026-08-28T04:08:17.818850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-argument-parser"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:28:55.729689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d22aab2fe42865f346befacbfef37a447fe643d26d19a5352cef43420c7d89c", "fetched_at": "2026-08-28T04:08:17.818850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-argument-parser"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:17.818850+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:28:55.729689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d22aab2fe42865f346befacbfef37a447fe643d26d19a5352cef43420c7d89c", "fetched_at": "2026-08-28T04:08:17.818850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-argument-parser"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:28:55.729689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d22aab2fe42865f346befacbfef37a447fe643d26d19a5352cef43420c7d89c", "fetched_at": "2026-08-28T04:08:17.818850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-argument-parser"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:28:55.729689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d22aab2fe42865f346befacbfef37a447fe643d26d19a5352cef43420c7d89c", "fetched_at": "2026-08-28T04:08:17.818850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-argument-parser"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:28:55.729689+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d22aab2fe42865f346befacbfef37a447fe643d26d19a5352cef43420c7d89c", "fetched_at": "2026-08-28T04:08:17.818850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-argument-parser"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 80}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2386, "days_push": 7, "days_rel": 56, "gap_med": 34, "n_releases_24m": 10}, "score": 93, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}