Skip to main content
Module

x/args/utils.ts>partitionFlags

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Latest
variable partitionFlags
import { partitionFlags } from "https://deno.land/x/args@2.1.1/utils.ts";

Divide a list of classified arguments into two: one for flags with certain names, other for the rest

type

(args: Iterable<ArgvItem>, names: readonly string[]) => unknown