MCPcopy Create free account
hub / github.com/arctic-cli/interface / printEvent

Function printEvent

packages/arctic/src/cli/cmd/run.ts:121–128  ·  view source on GitHub ↗
(color: string, type: string, title: string)

Source from the content-addressed store, hash-verified

119
120 const execute = async (sdk: ArcticClient, sessionID: string) => {
121 const printEvent = (color: string, type: string, title: string) => {
122 UI.println(
123 color + `|`,
124 UI.Style.TEXT_NORMAL + UI.Style.TEXT_DIM + ` ${type.padEnd(7, " ")}`,
125 "",
126 UI.Style.TEXT_NORMAL + title,
127 )
128 }
129
130 const outputJsonEvent = (type: string, data: any) => {
131 if (args.format === "json") {

Callers 1

executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected