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

x/cliffy/prompt/number.ts>NumberOptions

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
interface NumberOptions
implements GenericSuggestionsOptions<number, string>
import { type NumberOptions } from "https://deno.land/x/cliffy@v0.19.0/prompt/number.ts";

Number prompt options.

Properties

optional
min: number
optional
max: number
optional
float: boolean
optional
round: number
optional
keys: NumberKeys