Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/args/flag-types.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/flag-types.ts";

Declare a count flag: Value is number of occurrences

type

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