Skip to main content
Module

x/dax/mod.ts>SelectOptions

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
interface SelectOptions
Re-export
import { type SelectOptions } from "https://deno.land/x/dax@0.31.0/mod.ts";

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.