Repolode

apple/swift-argument-parser

A type-safe Swift library for parsing command-line arguments, flags, options and subcommands into your own command types.

スター
3,793
フォーク
0
未解決の Issue
0
最終コミット
3 日前

主な機能

  • 01Declare options, flags and positional arguments with property wrappers.
  • 02Generates usage text, help output and error messages from property definitions.
  • 03Supports nested commands and subcommands.
  • 04Offers AsyncParsableCommand for async/await run methods.
  • 05Distributed as a Swift Package Manager dependency.

ユースケース

  • Building a Swift command-line utility with typed arguments and automatic help.
  • Adding a multi-command CLI with subcommands to a Swift project.
  • Writing async command-line tools that call asynchronous APIs.

トピック

よくある質問

swift-argument-parser とは?
A type-safe Swift library for parsing command-line arguments, flags, options and subcommands into your own command types.
swift-argument-parser は無料で使えますか?ライセンスは?
swift-argument-parser は Apache-2.0 ライセンスのオープンソースです。商用製品で使う前にライセンス条件を確認してください。
swift-argument-parser は今もメンテナンスされていますか?
活発にメンテナンス中。swift-argument-parser の最終コミットは 2026年10月16日 です。
swift-argument-parser は何に使えますか?
Building a Swift command-line utility with typed arguments and automatic help. Adding a multi-command CLI with subcommands to a Swift project. Writing async command-line tools that call asynchronous APIs.
swift-argument-parser はどこで入手できますか?
ソースコードとインストール手順は GitHub にあります:https://github.com/apple/swift-argument-parser

概要はプロジェクトの README をもとに AI が生成しています。GitHub の数値は毎日更新されます。

関連プロジェクト