UNPKG

@reliverse/rse-sdk

Version:

@reliverse/rse-sdk without cli. @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) 486 B
import { re } from "@reliverse/relico"; export function getPromptContent(depsMissing, updateAvailable) { if (depsMissing) { return re.yellow( `Dependencies are missing in your project. Would you like to install them? ${re.bold( "\u{1F6A8} Note: Certain addons will be disabled until the dependencies are installed." )}` ); } return updateAvailable ? re.yellow("Select an action to perform\n(An update is available)") : "Select an action to perform"; }