Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/args/types.ts>ArgvItem.SingleFlag

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Go to Latest
interface ArgvItem.SingleFlag
implements Base
import { type ArgvItem } from "https://deno.land/x/args@2.1.0/types.ts";
const { SingleFlag } = ArgvItem;

Single flag variant of ArgvItem

Properties

readonly
type: "single-flag"
readonly
name: string