📈 GH Trending Explorer
Sponsored by Sorted Solution
⚠ Updated 2026-11-29 10:03 UTC 🎲 Surprise me

← all repos

apple / swift-argument-parser

git clone https://github.com/apple/swift-argument-parser.git 1.8.2 · 6mo ago

Swift library for declaring type-safe command-line interfaces, with automatic parsing, help text, and error messages.

Why you might care

Define CLI options, flags, and arguments as typed Swift properties with property wrappers, and the library handles parsing, validation, and generated help. It is Apple's official package, Apache-2.0 licensed, and supports async command execution.

Categories

Alternatives

ClapClickargparseCommander.js
+2
stars, 24h · #10,793
+7
stars, 7 days · #22,280
+17
stars, 30 days · #37,975
3.8k
★ total · +0% this week
438
forks · 164 open issues

Star history (as recorded here)

2026-10-20 · 3,792 ★ 2026-12-06 · 3,822 ★
LanguageSwift
LicenseApache-2.0
Created2020-02-20 (6y ago)
Last push5d ago
Watchers149
OwnerOrganization

Seen on GitHub Trending

  • 2026-10-26 — #14 weekly in swift · +6 ★
  • 2026-10-25 — #14 weekly in swift · +8 ★
  • 2026-10-24 — #11 weekly in swift · +5 ★
  • 2026-10-23 — #16 weekly in swift · +6 ★
  • 2026-10-22 — #7 daily in swift · +1 ★
  • 2026-10-22 — #10 weekly in swift · +6 ★
  • 2026-10-21 — #9 weekly in swift · +6 ★
  • 2026-10-20 — #9 weekly in swift · +8 ★

GitHub topics

Links

README

Loading README…

Blurb generated by claude-haiku-5-5 1mo ago. Star deltas marked ~ are extrapolated from partial history.