property CliOptions.unknownFlags

Flags the parser was given and does not know, as typed.

Not an aside: an unrecognised flag consumes a word, so the positionals behind it shift and a different word becomes the package. Nothing runs while this is non-empty.

Type

readonly string[]

Usage

import { type CliOptions } from "cli.ts";