MCPcopy
hub / github.com/triggerdotdev/trigger.dev / renderTitle

Function renderTitle

packages/cli/src/utils/renderTitle.ts:15–24  ·  view source on GitHub ↗
(projectDirectory: string)

Source from the content-addressed store, hash-verified

13};
14
15export const renderTitle = async (projectDirectory: string) => {
16 const triggerGradient = gradient(Object.values(poimandresTheme));
17
18 // resolves weird behavior where the ascii is offset
19 const pkgManager = await getUserPackageManager(projectDirectory);
20 if (pkgManager === "yarn" || pkgManager === "pnpm") {
21 console.log("");
22 }
23 console.log(triggerGradient.multiline(TITLE_TEXT));
24};

Callers 1

initCommandFunction · 0.90

Calls 2

getUserPackageManagerFunction · 0.90
logMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…