UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

16 lines (15 loc) • 553 B
import { r as theme } from "./theme-BOI0xyRZ.mjs"; import { t as formatDocsLink } from "./links-41lO3DKP.mjs"; //#region src/cli/help-format.ts function formatDocsHelp(e) { return `\n${theme.muted("Docs:")} ${formatDocsLink(e, `docs.openclaw.ai${e}`)}\n`; } function formatHelpExamples(e, t = false) { return e.map(([e, n]) => { const r = ` ${theme.command(e)}`; if (t) return n ? `${r} ${theme.muted(`# ${n}`)}` : r; return `${r}\n ${theme.muted(n)}`; }).join("\n"); } //#endregion export { formatHelpExamples as n, formatDocsHelp as t };