Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

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

Packages

No packages published

Languages