import { PadroneSchema } from "../types/schema.mjs"; import { WithCommand } from "../util/type-utils.mjs"; import { CommandTypesBase, PadroneCommand } from "../types/command.mjs"; import { PadroneReplPreferences } from "../types/preferences.mjs"; //#region src/extension/repl.d.ts type ReplArgs = { scope?: string; }; type ReplCommand = PadroneCommand<'repl', '', PadroneSchema, void, [], [], true>; type WithRepl = WithCommand; /** * Extension that adds REPL support: * - `repl` command that starts an interactive REPL * - `--repl` flag that starts the REPL from any invocation * * Usage: * ```ts * createPadrone('my-cli').extend(padroneRepl()) * ``` */ declare function padroneRepl(defaults?: PadroneReplPreferences & { disabled?: boolean; }): (builder: T) => WithRepl; //#endregion export { WithRepl, padroneRepl }; //# sourceMappingURL=repl.d.mts.map