Skip to content

parseArgs

parseArgs(argv, io, cwd?): Flags | { error: string; }

query is claimed before the flag parse like config and trust (see main), but only because it changes what a positional MEANS, from a directory to search terms. Every collection flag still applies after it, which is why it is not a command with its own flag list.

ParameterType
argvreadonly string[]
ioCliIo
cwdstring

Flags | { error: string; }