awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
apple avatar

apple/swift-argument-parser

0
View on GitHub↗
3,728 estrellas·386 forks·Swift·Apache-2.0·5 vistasswiftpackageindex.com/apple/swift-argument-parser/documentation↗

Swift Argument Parser

This is a library for building command-line interfaces in Swift. It converts command-line arguments into type-safe Swift properties using a declarative approach, ensuring that inputs match expected data types to prevent runtime errors.

The framework supports the creation of complex command hierarchies through nested subcommands. It automatically generates formatted usage documentation and error messages by deriving information from the defined metadata and types.

The system utilizes property wrappers to attach parsing logic to types and employs reflection to extract metadata from property names and types at runtime.

Features

  • Command Line Argument Parsing - Processes command-line flags and arguments, converting raw input into type-safe Swift properties.
  • Nested Command Structures - Provides hierarchical organization of CLI commands into sub-commands and groups using a declarative tree of types.
  • Command Line Argument Parsers - Parses raw shell input strings into structured, type-safe Swift objects based on defined requirements.
  • Subcommand Parsers - Enables the creation of complex command hierarchies with nested sub-commands and automatic help generation.
  • Type-Safe Argument Mappings - Converts raw command-line string input into strongly typed Swift properties through a generic decoding layer.
  • CLI Frameworks - Provides a declarative framework for building type-safe command-line interfaces in Swift.
  • CLI Frameworks - Provides a type-safe framework where command-line arguments and options map directly to Swift types.
  • Automated Help Generators - Automatically produces usage instructions and option descriptions for command-line interfaces from the defined command hierarchy.
  • Property Wrapper Declarations - Uses Swift property wrappers to attach parsing logic and metadata to command-line arguments.
  • Reflection-Based Property Accessors - Employs runtime reflection to inspect property names and types to determine argument requirements.
  • Argument Parsing - Type-safe and straightforward argument parsing utility.
  • Command Line Tools - Type-safe argument parsing for Swift.
  • Command Line Utilities - Parse command-line arguments in Swift applications.

Historial de estrellas

Gráfico del historial de estrellas de apple/swift-argument-parserGráfico del historial de estrellas de apple/swift-argument-parser

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Swift Argument Parser

Proyectos open-source similares, clasificados según cuántas características comparten con Swift Argument Parser.
  • cliutils/cli11Avatar de CLIUtils

    CLIUtils/CLI11

    4,322Ver en GitHub↗

    CLI11 is a header-only C++ library for parsing command line arguments and managing configuration files. It maps shell input to typed variables and supports the creation of complex command hierarchies. The library is distinguished by its support for nested subcommands with infinite depth and prefix matching. It integrates configuration management by allowing application settings to be loaded from TOML or INI files, with the ability to fall back to environment variables. The project provides a comprehensive set of tools for argument parsing, including flags and positional arguments, alongside

    C++clicli-parsercpp11
    Ver en GitHub↗4,322
  • remkop/picocliAvatar de remkop

    remkop/picocli

    5,387Ver en GitHub↗

    picocli is a command line interface development framework and argument parser for JVM-based applications. It maps command line options and positional parameters to strongly typed Java methods and fields using a declarative, annotation-based model. The framework provides specific support for native image compilation, producing the reflection and resource configuration files necessary to build standalone binaries with reduced startup overhead. It further distinguishes itself with a dedicated system for generating shell autocompletion scripts and an ANSI terminal stylizer for applying colors and

    Java
    Ver en GitHub↗5,387
  • commandlineparser/commandlineAvatar de commandlineparser

    commandlineparser/commandline

    4,817Ver en GitHub↗

    This library is a .NET command line parser for C# and F# that implements POSIX getopt conventions to map shell arguments into strongly typed objects. It provides a framework for building console applications that process Unix-style flags and options. The project features a routing system that directs program execution based on action-oriented verbs, supporting sub-commands and default actions. It includes an automatic help generator that produces localized usage instructions and formatted help screens based on the defined command options. The toolset covers argument parsing with strongly typ

    C#command-linedotnetdotnet-core
    Ver en GitHub↗4,817
  • yargs/yargsAvatar de yargs

    yargs/yargs

    11,492Ver en GitHub↗

    yargs is a command-line interface framework and argument parser for Node.js. It translates raw command-line strings into structured JavaScript objects, providing a toolkit for building terminal applications with nested sub-commands, dedicated handlers, and a structured user interface. The framework distinguishes itself through automated help text generation, which constructs formatted usage menus and instructions based on registered metadata. It also provides shell completion generation for Bash and Zsh and uses string-distance algorithms to offer typo correction suggestions when invalid inpu

    JavaScript
    Ver en GitHub↗11,492
Ver las 30 alternativas a Swift Argument Parser→

Preguntas frecuentes

¿Qué hace apple/swift-argument-parser?

This is a library for building command-line interfaces in Swift. It converts command-line arguments into type-safe Swift properties using a declarative approach, ensuring that inputs match expected data types to prevent runtime errors.

¿Cuáles son las características principales de apple/swift-argument-parser?

Las características principales de apple/swift-argument-parser son: Command Line Argument Parsing, Nested Command Structures, Command Line Argument Parsers, Subcommand Parsers, Type-Safe Argument Mappings, CLI Frameworks, Automated Help Generators, Property Wrapper Declarations.

¿Qué alternativas de código abierto existen para apple/swift-argument-parser?

Las alternativas de código abierto para apple/swift-argument-parser incluyen: cliutils/cli11 — CLI11 is a header-only C++ library for parsing command line arguments and managing configuration files. It maps shell… remkop/picocli — picocli is a command line interface development framework and argument parser for JVM-based applications. It maps… commandlineparser/commandline — This library is a .NET command line parser for C# and F# that implements POSIX getopt conventions to map shell… yargs/yargs — yargs is a command-line interface framework and argument parser for Node.js. It translates raw command-line strings… aikar/commands — This project is a Java command dispatch framework that maps user input to application logic using annotation-based… urfave/cli — This is a framework for building structured terminal applications in Go. It provides the core components necessary to…