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

x/args/index.ts>flags.OptionDescriptor

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Latest
interface flags.OptionDescriptor
implements FlagDescriptorSharedProps
import { type flags } from "https://deno.land/x/args@2.1.1/index.ts";
const { OptionDescriptor } = flags;

Interface of descriptor of Option

Type Parameters

Value

Type of value

Properties

readonly
type: ValueType<Value, [string]>

Value parser and type