Skip to content
Command line parsing, either into a simple string array, or a step further into a set of commands, options, flags and arguments (Library, C#/.NET Standard 1.0)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
source/Nerven.CommandLineParser
tests/Nerven.CommandLineParser.Tests
.gitignore
GitVersionConfig.yaml
LICENSE.txt
Nerven.CommandLineParser.sln
Nerven.CommandLineParser.sln.DotSettings
Nerven.DotSettings
README.md
Settings.StyleCop
appveyor.yml
build.cmd
build.complete.cmd
build.proj
build.test.cmd
pre-build.cmd

README.md

Command line parser/splitter in managed C#

var s = @"ffmpeg -i source.webm -vf ""setpts=2.0 * PTS"" target.webm";
var commandLine = CommandLineSplitter.Default.ParseString(s);
var args = commandLine.GetArgs(); // -> ["ffmpeg"", "-i", "source.webm", "-vf", "setpts=2.0 * PTS", "target.webm"]
You can’t perform that action at this time.