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

x/cliffy/prompt/number.ts>Number.prompt

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method Number.prompt
import { Number } from "https://deno.land/x/cliffy@v0.17.0/prompt/number.ts";

Execute the prompt and show cursor on end.

Parameters

options: string | NumberOptions

Returns

Promise<number>