bau/argv

Search:
Group by:

Parses shell-style command strings for task and build-script execution.

Procs

proc parseCommandLine(cmd: string): seq[string] {....raises: [ValueError],
    tags: [], forbids: [].}
Split a simple command string into argv, honoring shell-like quotes and backslash escapes. This intentionally does not expand variables or globs.