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

x/cliffy/prompt/list.ts>ListOptions

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
interface ListOptions
implements GenericSuggestionsOptions<string[], string>
import { type ListOptions } from "https://deno.land/x/cliffy@v1.0.0-rc.1/prompt/list.ts";

List prompt options.

Properties

optional
keys: ListKeys

Keymap to assign key names to prompt actions.

optional
separator: string

Change the list separator. Default is ,.

optional
minLength: number

Limit minimum allowed length of a tag.

optional
maxLength: number

Limit maximum allowed length of a tag.

optional
minTags: number

Limit minimum amount of entered tags.

optional
maxTags: number

Limit maximum amount of entered tags.