PowerArgs.Cli.RichTextCommandLineReader.ReadCommandLine C# (CSharp) Method

ReadCommandLine() public method

Reads a line of text from the console and converts it into a string array that has accounted for escape sequences and quoted string literals.
public ReadCommandLine ( ConsoleString initialBuffer = null ) : string[]
initialBuffer ConsoleString Optionally seed the prompt with an initial value that the end user can modify
return string[]
        public string[] ReadCommandLine(ConsoleString initialBuffer = null)
        {
            var line = ReadLine(initialBuffer).ToString();
            var ret = Args.Convert(line);
            return ret;
        }