()
| 6 | describe: "list all known projects", |
| 7 | builder: (yargs) => yargs, |
| 8 | async handler() { |
| 9 | const { Project } = await import("@/project/project") |
| 10 | const { AppNodeBuilder } = await import("@opencode-ai/core/effect/app-node-builder") |
| 11 | const { makeRuntime } = await import("@opencode-ai/core/effect/runtime") |
| 12 | const runtime = makeRuntime(Project.Service, AppNodeBuilder.build(Project.node)) |
| 13 | const list = await runtime.runPromise((project) => project.list()) |
| 14 | process.stdout.write(JSON.stringify(list, null, 2) + EOL) |
| 15 | }, |
| 16 | }) |
nothing calls this directly
no test coverage detected