UNPKG

peezy-cli

Version:

Production-ready CLI for scaffolding modern applications with curated full-stack templates, intelligent migrations, and enterprise security.

19 lines (18 loc) 668 B
import type { PromptObject } from "prompts"; export interface PeezyPlugin { name: string; extendPrompts?: (questions: PromptObject[]) => PromptObject[]; onAfterScaffold?: (ctx: { projectPath: string; options: any; }) => Promise<void> | void; } export interface PeezyConfig { plugins?: (PeezyPlugin | string)[]; } export declare function loadPeezyConfig(cwd?: string): Promise<PeezyPlugin[]>; export declare function applyExtendPrompts(plugins: PeezyPlugin[], base: PromptObject[]): PromptObject[]; export declare function runAfterScaffold(plugins: PeezyPlugin[], ctx: { projectPath: string; options: any; }): Promise<void>;