UNPKG

everything-dev

Version:

A consolidated product package for building Module Federation apps with oRPC APIs.

19 lines (17 loc) • 737 B
import { colors, frames, gradients, icons } from "../../utils/theme.mjs"; //#region src/cli/render/config.ts /** The `bos config` result view. */ function printConfigView(result) { console.log(); console.log(colors.cyan(frames.top(52))); console.log(` ${icons.app} ${gradients.cyber("CONFIG")}`); console.log(colors.cyan(frames.bottom(52))); console.log(); console.log(` ${colors.dim("Account")} ${colors.cyan(result.account)}`); console.log(` ${colors.dim("Domain")} ${colors.white(result.domain ?? "not configured")}`); if (result.staging) console.log(` ${colors.dim("Staging")} ${colors.magenta(result.staging.domain)}`); console.log(); } //#endregion export { printConfigView }; //# sourceMappingURL=config.mjs.map