Skip to main content
Module

x/args/index.ts>CountFlag

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

Declare a count flag: Value is number of occurrences

type

<Name extends string>(name: Name, descriptor?: FlagDescriptor) => FlagType<Name, number>