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.SelectOptions

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

Options for showing a selection that only has one result.

Properties

message: string

Prompt text to show the user.

optional
initialIndex: number

Initial selected option index. Defaults to 0.

options: string[]

Options to show the user.

optional
noClear: boolean

Whether to not clear the selection text on selection.