nvim_parse_cmdline
Adds an API function to parse a command line string and get command information from it.