You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-23Lines changed: 7 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Command Line Parser Library 1.9.6.1 rc1 for CLR.
1
+
Command Line Parser Library 1.9.61.1 rc1 for CLR.
2
2
===
3
3
The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks defining switches, options and verb commands. It allows you to display an help screen with an high degree of customization and a simple way to report syntax errors to the end user. Everything that is boring and repetitive to be programmed stands up on library shoulders, letting developers concentrate on core logic.
4
4
__This library provides _hassle free_ command line parsing with a constantly updated API since 2005.__
@@ -16,6 +16,7 @@ At glance:
16
16
-__Plug-In friendly__ architecture as explained [here](https://github.com/gsscoder/commandline/wiki/Plug-in-Friendly-Architecture).
17
17
- Define [verb commands](https://github.com/gsscoder/commandline/wiki/Verb-Commands) as ``git commit -a``.
18
18
- Create parser instance using lambda expressions with __fluent builder__.
19
+
- Most features apply with a [CoC](http://en.wikipedia.org/wiki/Convention_over_configuration) philosophy.
19
20
20
21
To install:
21
22
---
@@ -55,11 +56,12 @@ Define a class to receive parsed values:
55
56
```csharp
56
57
classOptions {
57
58
[Option('r', "read", Required=true,
58
-
HelpText="Input file to be processed.")]
59
+
HelpText="Input file to be processed.")]
59
60
publicstringInputFile { get; set; }
60
61
61
-
[Option('v', "verbose", DefaultValue=true,
62
-
HelpText="Prints all messages to standard output.")]
62
+
// omitting long name, default --verbose
63
+
[Option(DefaultValue=true,
64
+
HelpText="Prints all messages to standard output.")]
63
65
publicboolVerbose { get; set; }
64
66
65
67
[ParserState]
@@ -103,27 +105,9 @@ Resources for newcomers:
103
105
104
106
Latest Changes:
105
107
---
108
+
- Implemented enhancement of issue #57 suggested by @bluesan.
106
109
- Fixed issue #6.
107
110
- Heavy refactoring on Public API (see this [this document](https://github.com/gsscoder/commandline/blob/master/doc/PublicAPI.md) and [ChangeLog](https://github.com/gsscoder/commandline/blob/master/doc/ChangeLog)).
108
-
- StyleCop-ped!
109
-
- Fixed issue #15. Added OptionInfo::ReceivedValue to solve an issue in OptionMap::EnforceRequiredRule.
110
-
- A strict overload ``ParseArguments(string[],object,TextWriter,int)`` has wrong name, renamed ``ParseArgumentsStrict(...)``.
111
-
- Default singleton parsing culture is CultureInfo.InvariantCulture.
112
-
- Added ``IParserSettings::ParsingCulture`` and ``ParserConfigurator::UseCulture``.
113
-
- Merged pull request #52 from @mizipzor (Alexander Fast).
114
-
- Extracted interface ``IParserSettings`` from ``ParserSettings``; see [Public API](https://github.com/gsscoder/commandline/blob/master/doc/PublicAPI.md) document.
115
-
- Prefix ``CommandLine`` removed from main types to achieve name consistency between all library types.
116
-
- All names of test fixture methods changed to a new convention (using https://gist.github.com/4655503).
117
-
- Started refactoring on test project (migrating from NUnit to Xunit).
118
-
- Thanks to @marcells, we can reference CommandLine.dll from CommandLine.Tests.dll keeping strong name.
119
-
- Introduced ``ValueOptionAttribute`` enhancement of issue #33.
120
-
-``CommandLineParser`` refactored (also using new ``ParserContext`` type).
121
-
-``ReflectionUtil`` now caches data using ``ReflectionCache``.
122
-
- Refactoring in respect of FxCop rules (see ChangeLog). ``HandleParsingErrorsDelegate`` renamed to ``ParsingErrorsHandler``, ``MultiLineTextAttribute`` renamed to ``MultilineTextAttribute``.
123
-
- Removed synchronization from ``OptionInfo`` and ``TargetWrapper`` (parsing should occur in one thread;
124
-
if not, synchronization must be provided by developer not by the library).
125
-
- Merged pull request #44 from @dbaileychess (Derek Bailey) that adds ``BaseOptionAttribute::MetaKey`` similar to python [argparse](http://docs.python.org/2/library/argparse.html#module-argparse).
126
-
- Implemented [strict parsing](https://github.com/gsscoder/commandline/blob/master/src/tests/Parser/StrictFixture.cs) (see issue #32 by @nemec).
Copy file name to clipboardExpand all lines: Rakefile.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
PRODUCT="Command Line Parser Library"
2
2
DESCRIPTION="The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks."
Copy file name to clipboardExpand all lines: doc/PublicAPI.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,4 +18,5 @@ Public API Changes:
18
18
- Version 1.9.4.225: Breaking, default singleton parsing culture is ``CultureInfo.InvariantCulture``; this is not general default only the one of default singleton.
19
19
- Version 1.9.4.223: 'Partially' non breaking, all attributes are now in root namespace.
20
20
- Version 1.9.5.0: Breaking (in some cases), removed ``IParser::ParseArguments`` overloads (see ChangeLog); removed ``::WasVerbOptionInvoked``; use new ``HelpText::AutoBuild(object,string)`` instead of obsolete ``::GetVerbOptionsInstanceByName``.
21
-
- Version 1.9.6.1: Non breaking (if implicit syntax), reverting back genericity from IParser.
21
+
- Version 1.9.6.1: Non breaking (if implicit syntax), reverting back genericity from IParser.
22
+
- Version 1.9.61.1: Non breaking, omitting longname default -> property name lower case.
<?xml version='1.0'?><package xmlns='http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'><metadata><id>CommandLineParser</id><version>1.9.5-rc0</version><title>Command Line Parser Library</title><authors>Giacomo Stelluti Scala</authors><description>The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.</description><releaseNotes/><copyright>Copyright (c) 2005 - 2013 Giacomo Stelluti Scala</copyright><licenseUrl>https://raw.github.com/gsscoder/commandline/master/doc/LICENSE</licenseUrl><projectUrl>https://github.com/gsscoder/commandline</projectUrl><owners>Giacomo Stelluti Scala</owners><iconUrl>https://github.com/gsscoder/commandline/raw/master/art/CommandLine.png</iconUrl><requireLicenseAcceptance>false</requireLicenseAcceptance><tags>command line argument option parser parsing library syntax shell</tags></metadata><files><file src='C:\Projects\CommandLine\src\libcmdline\bin\Release\CommandLine.dll' target='lib\CommandLine.dll'/><file src='C:\Projects\CommandLine\src\libcmdline\bin\Release\CommandLine.xml' target='lib\CommandLine.xml'/><file src='C:\Projects\CommandLine\nuget\readme.txt' target='readme.txt'/></files></package>
1
+
<?xml version='1.0'?><package xmlns='http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'><metadata><id>CommandLineParser</id><version>1.9.6-rc1</version><title>Command Line Parser Library</title><authors>Giacomo Stelluti Scala</authors><description>The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.</description><releaseNotes/><copyright>Copyright (c) 2005 - 2013 Giacomo Stelluti Scala</copyright><licenseUrl>https://raw.github.com/gsscoder/commandline/master/doc/LICENSE</licenseUrl><projectUrl>https://github.com/gsscoder/commandline</projectUrl><owners>Giacomo Stelluti Scala</owners><iconUrl>https://github.com/gsscoder/commandline/raw/master/art/CommandLine.png</iconUrl><requireLicenseAcceptance>false</requireLicenseAcceptance><tags>command line argument option parser parsing library syntax shell</tags></metadata><files><file src='\home\giacomo\Projects_VM\CommandLine\src\libcmdline\bin\Release\CommandLine.dll' target='lib\CommandLine.dll'/><file src='\home\giacomo\Projects_VM\CommandLine\src\libcmdline\bin\Release\CommandLine.xml' target='lib\CommandLine.xml'/><file src='\home\giacomo\Projects_VM\CommandLine\nuget\readme.txt' target='readme.txt'/></files></package>
0 commit comments