Skip to main content
Module

x/args/flag-types.ts>CountFlag

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Go to Latest
variable CountFlag
import { CountFlag } from "https://deno.land/x/args@2.1.0/flag-types.ts";

Declare a count flag: Value is number of occurrences

type

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