Namespaces

Ookii.CommandLine is a powerful and flexible command line argument parsing library for .Net applications. It allows you to easily define strongly-typed required, optional, positional and named arguments, parse the command line arguments, generate usage information, and write applications with subcommands.

See the documentation on GitHub for information on how to get started with Ookii.CommandLine.

Command line parsing is done by the CommandLineParser class.

Functionality for creating applications that support multiple subcommands, where each command has its own arguments, is provided by the CommandManager class.

Namespaces

Ookii.CommandLine

Provides functionality for defining and parsing command line arguments, and for generating usage help.

Ookii.CommandLine.Commands

Provides functionality for creating applications with multiple subcommands, each with their own arguments.

Ookii.CommandLine.Conversion

Provides functionality for converting argument strings from the command line to the actual type of an argument.

Ookii.CommandLine.Support

Provides types to support source generation. Types in this namespace should not be used directly in your code.

Ookii.CommandLine.Terminal

Provides helpers for using virtual terminal sequences and color output on the console.

Ookii.CommandLine.Validation

Provides attributes used to validate the value of arguments, and the relation between arguments.