/** * Stop Ask's boolean flags from eating the question. * * They are declared `--flag [true|false]` so `--flag false` works and the * palette can offer the two values as a menu. Commander reads an optional-value * option greedily, though: in `ask --print "summarise this"` the message * becomes the flag's value and `parseBooleanOption` rejects it, so the * documented form fails at parse time. * * Writing the value inline (`--print=true`) settles the option before Commander * looks at the next token, so the message stays a positional argument. Only * done when the next token is not a boolean, which leaves `--print false` and * `--print=false` exactly as the caller typed them. * * Exported for tests; `index.ts` is the only production caller. */ export declare function pinAskBooleanFlags(argv: readonly string[]): string[]; //# sourceMappingURL=argvFlags.d.ts.map