Click here to Skip to main content
11,491,598 members (69,455 online)
Click here to Skip to main content
Articles » Languages » C# » Utilities » Downloads
Add your own
alternative version

A C#/.NET Attributes Based Command Line Argument Parser

, 10 Jan 2012 CPOL 18.8K 1.3K 37
This article introduces an easy to use attribute/reflection based library for seamlessly parsing command line arguments for applications.
NAttrArgs.zip
NAttrArgs.pdb
NAttrArgs.dll
NAttrArgsArticle_Examples.zip
NAttrArgsArticle
Example1
Properties
Example2_RequiredAndOptional
Properties
Example3_AllowedValues
Properties
Example4_RankAndOptionalParamsWithArguments
Properties
Example5_PropertiesAndMethods
Properties
Example6_ConsumeRemaining
Properties
Example6_ConsumeRemainingIEnumberable
Properties
Example7_WPF
Example7_WPF.csproj.user
Properties
Settings.settings
Example8_StaticMember
Properties
NAttrArgs
NAttrArgs.dll
NAttrArgs.pdb
NAttrArgs_src.zip
NAttrArgs
NAttrArgs.Test
NAttrArgs.Test.csproj.user
Properties
NAttrArgs
Properties
README
ReferencedExternalDLLs
NUnit 2.5.10
bin
net-2.0
framework
nunit.framework.dll
Samples
ls
ls.csproj.user
Properties
Test
Properties
TestMS.ls
Properties

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

PeteBarber
Team Leader
United Kingdom United Kingdom
My day job is mostly working in C++ with a bit of C#. I write a fair amount of command line based tools and really wish they could have a GUI front-end to them hence why I spend my spare time working with WPF.

I started a blog few years back but didn't do a lot with it. I've started describing some of the interesting programming things I come across on it. Please take a look.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150520.1 | Last Updated 10 Jan 2012
Article Copyright 2012 by PeteBarber
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid