Module

x/dax/mod.ts>PromptOptions

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
interface PromptOptions
import { type PromptOptions } from "https://dotland.deno.dev/x/dax@0.39.2/mod.ts";

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: PromptInputMask | 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.

import PromptOptions
import { PromptOptions } from "https://dotland.deno.dev/x/dax@0.39.2/mod.ts";