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

x/deno/tools/release/deps.ts>dax.PromptOptions

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface dax.PromptOptions
Re-export
import { type dax } from "https://deno.land/x/deno@v1.39.3/tools/release/deps.ts";
const { PromptOptions } = dax;

Options for showing an input where the user enters a value.

Properties

message: string

Message to display to the user.

optional
default: string

Default value.

optional
mask: InputMask | boolean

Whether typed characters should be hidden by a mask, optionally allowing a choice of mask character (* by default) and whether or not to keep the final character visible as the user types (false by default).

optional
noClear: boolean

Whether to not clear the prompt text on selection.