MCPcopy Create free account
hub / github.com/backnotprop/plannotator / buildAnnotateCliArgs

Function buildAnnotateCliArgs

apps/opencode-plugin/cli-bridge.ts:324–331  ·  view source on GitHub ↗
(parsed: ParsedAnnotateArgs)

Source from the content-addressed store, hash-verified

322}
323
324export function buildAnnotateCliArgs(parsed: ParsedAnnotateArgs): string[] {
325 const args = ["annotate", parsed.rawFilePath, "--json"];
326 if (parsed.gate) args.push("--gate");
327 if (parsed.renderHtml) args.push("--render-html");
328 if (parsed.renderMarkdown) args.push("--markdown");
329 if (parsed.noJina) args.push("--no-jina");
330 return args;
331}
332
333export async function runCliPlanReview(input: {
334 client: OpenCodeClient;

Callers 2

cli-bridge.test.tsFile · 0.90
handleCliCommandFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected