Skip to main content
Module

x/cliffy/prompt/input.ts>Input.inject

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
method Input.inject
import { Input } from "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/input.ts";

Inject prompt value. If called, the prompt doesn't prompt for an input and returns immediately the injected value. Can be used for unit tests or pre selections.

Parameters

value: string

Input value.