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 2.1)

License

Notifications You must be signed in to change notification settings

Nerven/CommandLineParser

Repository files navigation

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"]

About

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 2.1)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages