Module

x/cliffy/mod.ts>GenericInput

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class GenericInput
extends GenericPrompt<T, string, S>
Abstract
import { GenericInput } from "https://dotland.deno.dev/x/cliffy@v0.11.0/mod.ts";

Properties

protected
index: number
protected
input: string

Methods

protected
addChar(char: string): void
protected
deleteChar(): void
protected
deleteCharRight(): void
protected
getValue(): string
protected
handleEvent(event: KeyEvent): Promise<boolean>
protected
moveCursorLeft(): void
protected
moveCursorRight(): void
protected
setPrompt(message: string)

Static Methods

inject(value: string): void
import GenericInput
import { GenericInput } from "https://dotland.deno.dev/x/cliffy@v0.11.0/mod.ts";