awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 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 Aufrufe

Commandline

Diese Bibliothek ist ein .NET-Kommandozeilen-Parser für C# und F#, der POSIX-getopt-Konventionen implementiert, um Shell-Argumente in stark typisierte Objekte zu mappen. Sie bietet ein Framework für die Erstellung von Konsolenanwendungen, die Unix-artige Flags und Optionen verarbeiten.

Das Projekt verfügt über ein Routing-System, das die Programmausführung basierend auf aktionsorientierten Verben steuert und Sub-Commands sowie Standardaktionen unterstützt. Es enthält einen automatischen Hilfe-Generator, der lokalisierte Nutzungshinweise und formatierte Hilfebildschirme basierend auf den definierten Befehlsoptionen erstellt.

Das Toolset deckt das Argument-Parsing mit stark typisiertem Mapping, Eingabevalidierung für sich gegenseitig ausschließende oder erforderliche Optionen sowie die Möglichkeit ab, befüllte Options-Objekte zurück in Kommandozeilen-Strings zu serialisieren.

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.

Star-Verlauf

Star-Verlauf für commandlineparser/commandlineStar-Verlauf für commandlineparser/commandline

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Commandline

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Commandline.
  • cliutils/cli11Avatar von CLIUtils

    CLIUtils/CLI11

    4,322Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗4,322
  • remkop/picocliAvatar von remkop

    remkop/picocli

    5,387Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗5,387
  • sindresorhus/meowAvatar von sindresorhus

    sindresorhus/meow

    3,708Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗3,708
  • docopt/docoptAvatar von docopt

    docopt/docopt

    8,008Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗8,008
Alle 30 Alternativen zu Commandline anzeigen→

Häufig gestellte Fragen

Was macht commandlineparser/commandline?

Diese Bibliothek ist ein .NET-Kommandozeilen-Parser für C# und F#, der POSIX-getopt-Konventionen implementiert, um Shell-Argumente in stark typisierte Objekte zu mappen. Sie bietet ein Framework für die Erstellung von Konsolenanwendungen, die Unix-artige Flags und Optionen verarbeiten.

Was sind die Hauptfunktionen von commandlineparser/commandline?

Die Hauptfunktionen von commandlineparser/commandline sind: 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.

Welche Open-Source-Alternativen gibt es zu commandlineparser/commandline?

Open-Source-Alternativen zu commandlineparser/commandline sind unter anderem: 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…