awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 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·14 views

Commandline

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 typed mapping, input validation for mutually exclusive or required options, and the ability to serialize populated option objects back into command line strings.

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 history

Star history chart for commandlineparser/commandlineStar history chart for commandlineparser/commandline

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does commandlineparser/commandline do?

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.

What are the main features of commandlineparser/commandline?

The main features of commandlineparser/commandline are: 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.

What are some open-source alternatives to commandlineparser/commandline?

Open-source alternatives to commandlineparser/commandline include: 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…

Open-source alternatives to Commandline

Similar open-source projects, ranked by how many features they share with Commandline.
  • cliutils/cli11CLIUtils avatar

    CLIUtils/CLI11

    4,322View on 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
    View on GitHub↗4,322
  • remkop/picocliremkop avatar

    remkop/picocli

    5,387View on 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
    View on GitHub↗5,387
  • sindresorhus/meowsindresorhus avatar

    sindresorhus/meow

    3,708View on 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
    View on GitHub↗3,708
  • docopt/docoptdocopt avatar

    docopt/docopt

    8,008View on 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
    View on GitHub↗8,008
  • See all 30 alternatives to Commandline→