Table of Contents

API Reference

McMaster.Extensions.CommandLineUtils targets .NET 8.0.

Key Types

The main entry point for most command line applications is CommandLineApplication.

For apps built using the attribute API, these are the most common attributes:

Utilities

  • Prompt - Interactive prompts for user input
  • DotNetExe - Locate the dotnet executable
  • ArgumentEscaper - Escape arguments for shell execution
  • IConsole - Abstraction for console I/O (useful for testing)