MCPcopy
hub / github.com/bombshell-dev/clack / TextOptions

Interface TextOptions

packages/core/src/prompts/text.ts:4–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import Prompt, { type PromptOptions } from './prompt.js';
3
4export interface TextOptions extends PromptOptions<string, TextPrompt> {
5 placeholder?: string;
6 defaultValue?: string;
7}
8
9export default class TextPrompt extends Prompt<string> {
10 get userInputWithCursor() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected