MCPcopy Index your code
hub / github.com/lingodotdev/lingo.dev / createWorkerStatusMessage

Function createWorkerStatusMessage

packages/cli/src/cli/cmd/run/execute.ts:115–128  ·  view source on GitHub ↗
(args: {
  assignedTask: CmdRunTask;
  percentage: number;
})

Source from the content-addressed store, hash-verified

113}
114
115function createWorkerStatusMessage(args: {
116 assignedTask: CmdRunTask;
117 percentage: number;
118}) {
119 const displayPath = args.assignedTask.bucketPathPattern.replace(
120 "[locale]",
121 args.assignedTask.targetLocale,
122 );
123 return `[${chalk.hex(colors.yellow)(`${args.percentage}%`)}] Processing: ${chalk.dim(displayPath)} (${chalk.hex(
124 colors.yellow,
125 )(
126 args.assignedTask.sourceLocale,
127 )} -> ${chalk.hex(colors.yellow)(args.assignedTask.targetLocale)})`;
128}
129
130function createExecutionProgressMessage(ctx: CmdRunContext) {
131 const succeededTasksCount = countTasks(

Callers 1

createWorkerTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…