CommandLineParser Class

Summary

Command line parser.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Util
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CommandLineParser"] class Type type-node

Syntax

public class CommandLineParser

Constructors

Name Summary
CommandLineParser(Type, bool) Initializes a new instance of the NAnt.Core.Util.CommandLineParser class using possible arguments deducted from the specific System.Type.

Properties

Name Value Summary
LogoBanner string
Gets a logo banner using version and copyright attributes defined on the System.Reflection.Assembly.GetEntryAssembly or the System.Reflection.Assembly.GetCallingAssembly.
NoArgs bool
Gets a value indicating whether no arguments were specified on the command line.
Usage string
Gets the usage instructions.

Methods

Name Value Summary
Parse(string[], Object) void
Parses an argument list.