UNPKG

askeroo

Version:

A modern CLI prompt library with flow control, history navigation, and conditional prompts

16 lines 586 B
#!/usr/bin/env node /** * Example: Creating a custom plugin that uses submission type system * * This plugin demonstrates: * 1. Checking previous prompt's submission type * 2. Conditional behavior based on submission context * 3. Smart navigation hints */ interface SmartPromptOptions { label: string; showNavigationInfo?: boolean; } export declare const smartPrompt: (opts?: import("../src/types/index.js").PluginOptionsWithBuiltins<SmartPromptOptions, string> | undefined) => Promise<string>; export {}; //# sourceMappingURL=custom-plugin-with-submission-types.d.ts.map