Skip to content

BizArk.ConsoleApp API Reference

Brian Brewder edited this page May 5, 2017 · 8 revisions

BizArk.ConsoleApp contains classes to help build command-line applications.

NuGet

BizArk.ConsoleApp

  • BaCon - Static class that provides utility methods for working with the console and BaCon apps.
  • BaConColor - Provides an easy to use mechanism to change the color of the console, and then put it back when you are done.
  • BaConStartOptions - Start options for BaCon apps.
  • CmdLineArgAttribute - Command-line argument attribute for BaCon apps.
  • CmdLineException - Base exception thrown for command-line parsing errors.
  • CmdLineArgException - Exception with a specific property.
  • CmdLineOptions - Command-line options for BaCon apps.
  • CmdLineOptionsAttribute - Attribute that can be applied to a command-line object to provide some additional information. Sending in an instance of CmdLineOptions to the parser will override these values.
  • IConsoleApp - Interface used by BaCon to manage a conole app.
  • BaseConsoleApp - A base class that can be used so developers don't have to implement all the methods in IConsoleApp.

BizArk.ConsoleApp.CmdLineHelpGenerator

BizArk.ConsoleApp.Logging

BizArk.ConsoleApp.Parser

  • AmbiguousNameException - Exception raised when there are multiple arguments that match the name.
  • CmdLineParseResults - The results from parsing command-line arguments.
  • CmdLineParseResults<T> - Typed results from parsing command-line arguments.
  • CmdLineProperty - Represents a property that can be set via the command-line.
  • CmdLinePropertyBag - Collection of CmdLineProperty objects for a command-line object.

BizArk.ConsoleApp.Themes

  • BaConTheme - Provides the ability to modify the colors used by BaCon when displaying generated text to the console.

Clone this wiki locally