awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
commandlineparser avatar

commandlineparser/commandline

0
View on GitHub↗
4,817 stars·477 forks·C#·MIT·4 vues

Commandline

Cette bibliothèque est un analyseur de ligne de commande .NET pour C# et F# qui implémente les conventions POSIX getopt pour mapper les arguments du shell dans des objets fortement typés. Elle fournit un framework pour construire des applications console qui traitent les drapeaux (flags) et options de style Unix.

Le projet dispose d'un système de routage qui dirige l'exécution du programme en fonction de verbes orientés action, prenant en charge les sous-commandes et les actions par défaut. Il inclut un générateur d'aide automatique qui produit des instructions d'utilisation localisées et des écrans d'aide formatés basés sur les options de commande définies.

La boîte à outils couvre l'analyse d'arguments avec mappage fortement typé, la validation des entrées pour les options mutuellement exclusives ou requises, et la capacité de sérialiser les objets d'options remplis en chaînes de ligne de commande.

Features

  • Command Line Argument Parsers - Implements logic for parsing raw shell input strings into structured objects based on defined requirements.
  • Command Line Argument Parsing - Implements a strongly typed parser for mapping shell arguments into C# and F# objects.
  • Argument Grouping - Groups related options to ensure at least one is selected, preventing parsing errors.
  • CLI Command Dispatchers - Implements a mapping system to direct terminal input to internal logic handlers via nested verbs.
  • Nested Command Structures - Organizes multiple distinct commands by assigning specific option classes to unique verb identifiers.
  • CLI Command Routers - Directs application flow by matching input strings to specific command classes and their unique option sets.
  • CLI Routers - Directs program execution flow by matching input verbs to specific command classes and unique option sets.
  • Command Line Interface Routing - Command-line interface routing that directs program execution flow based on distinct action-based verbs similar to version control systems.
  • Help Text Generators - Automatically generates and formats instructional documentation and usage screens for command-line tools.
  • Argument Exclusivity Constraints - Provides logic to enforce that only one option from a defined set is used.
  • CLI Argument Projections - Implements strongly typed mapping of raw terminal strings into structured C# or F# objects.
  • Command-Line Type Mapping - Maps raw command-line strings into strongly typed C# objects through reflection and type conversion.
  • CLI Argument Validators - Provides routines for validating command-line input, including required options and mutually exclusive flag combinations.
  • Verb-Based Command Routing - A routing system that directs program flow to different execution paths by parsing specific verbs and their unique option sets.
  • Default Command Fallbacks - Allows a specific command to execute automatically when no explicit verb is provided.
  • Command Help Displays - Displays detailed usage instructions and available options for specific individual commands.
  • POSIX CLI Compliance - Implements a .NET parser following standard POSIX conventions for command-line flags and arguments.
  • Attribute-Driven Configurations - Implements declarative markers on properties to define command-line option constraints and help text.
  • Command String Generators - Provides a utility to programmatically generate shell command strings from populated option objects.
  • CLI Tools - Concise API for manipulating command-line arguments.
  • Dotnet CLI Frameworks - API for manipulating command-line arguments.

Historique des stars

Graphique de l'historique des stars pour commandlineparser/commandlineGraphique de l'historique des stars pour commandlineparser/commandline

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait commandlineparser/commandline ?

Cette bibliothèque est un analyseur de ligne de commande .NET pour C# et F# qui implémente les conventions POSIX getopt pour mapper les arguments du shell dans des objets fortement typés. Elle fournit un framework pour construire des applications console qui traitent les drapeaux (flags) et options de style Unix.

Quelles sont les fonctionnalités principales de commandlineparser/commandline ?

Les fonctionnalités principales de commandlineparser/commandline sont : Command Line Argument Parsers, Command Line Argument Parsing, Argument Grouping, CLI Command Dispatchers, Nested Command Structures, CLI Command Routers, CLI Routers, Command Line Interface Routing.

Quelles sont les alternatives open-source à commandlineparser/commandline ?

Les alternatives open-source à commandlineparser/commandline incluent : 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… sindresorhus/meow — Meow is a Node.js command line argument parser that converts raw input strings into structured objects. It functions… docopt/docopt — Docopt is a command-line argument parser and declarative interface tool that converts raw terminal input into a… yargs/yargs — yargs is a command-line interface framework and argument parser for Node.js. It translates raw command-line strings… apple/swift-argument-parser — This is a library for building command-line interfaces in Swift. It converts command-line arguments into type-safe…

Alternatives open source à Commandline

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Commandline.
  • cliutils/cli11Avatar de CLIUtils

    CLIUtils/CLI11

    4,322Voir sur 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
    Voir sur GitHub↗4,322
  • remkop/picocliAvatar de remkop

    remkop/picocli

    5,387Voir sur 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
    Voir sur GitHub↗5,387
  • sindresorhus/meowAvatar de sindresorhus

    sindresorhus/meow

    3,708Voir sur GitHub↗

    Meow is a Node.js command line argument parser that converts raw input strings into structured objects. It functions as a tool for processing flags and positional arguments according to POSIX and shell conventions. The library provides a system for enforcing required arguments and verifying data types for command line inputs. It also serves as a helper for managing version strings, help menus, and subcommand routing within terminal applications. The project covers the broader surface of command line interface development, including input validation and the direction of execution paths via ke

    JavaScriptclicommand-linejavascript
    Voir sur GitHub↗3,708
  • docopt/docoptAvatar de docopt

    docopt/docopt

    8,008Voir sur GitHub↗

    Docopt is a command-line argument parser and declarative interface tool that converts raw terminal input into a structured data map. It derives its parsing logic and requirements directly from a standardized POSIX-style help message, using the documentation as the formal specification for the interface. The system implements a POSIX usage pattern parser to translate human-readable help strings into rules for extracting options and positional arguments. It automatically generates help screens and version information based on the internal usage patterns defined by the user. The tool ensures a

    Python
    Voir sur GitHub↗8,008
  • Voir les 30 alternatives à Commandline→