UNPKG

@reliverse/rse-sdk

Version:

@reliverse/rse-sdk allows you to create new plugins for @reliverse/rse CLI, interact with reliverse.org, and even extend your own CLI functionality (you may also try @reliverse/dler-sdk for this case).

13 lines (12 loc) 549 B
import type { RseConfig } from "@reliverse/cfg"; /** * A string literal union for either 'gitBehavior' or 'deployBehavior' */ type DecisionKey = "gitBehavior" | "deployBehavior"; /** * This function handles the final "yes/no" decision, taking into account: * - The config's behavior key (autoYes, autoNo, prompt) * - Whether skipPrompts is true */ export declare function decide(config: RseConfig, behaviorKey: DecisionKey, title: string, content: string | undefined, defaultValue: boolean, skipPrompts: boolean): Promise<boolean>; export {};