11 lines
285 B
TypeScript
11 lines
285 B
TypeScript
import { tool } from "@opencode-ai/plugin"
|
|
import path from "path"
|
|
|
|
export default tool({
|
|
description: "List all issues in the project using tea CLI",
|
|
args: {},
|
|
async execute(args, context) {
|
|
const result = await Bun.$`tea issues list`.text()
|
|
return result.trim()
|
|
},
|
|
}) |