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

x/cliffy/command/mod.ts>DefaultValue

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
type alias DefaultValue
Re-export
import { type DefaultValue } from "https://deno.land/x/cliffy@v1.0.0-rc.1/command/mod.ts";

Default flag value or a callback method that returns the default value.

Type Parameters

optional
TValue = unknown
definition: TValue | DefaultValueHandler<TValue>