MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / applyListOptions

Function applyListOptions

apps/cli/src/index.ts:68–74  ·  view source on GitHub ↗
(command: Command)

Source from the content-addressed store, hash-verified

66 .passThroughOptions()
67
68const applyListOptions = (command: Command) =>
69 command
70 .option("-w, --workspace <path>", "Workspace directory path (defaults to current working directory)")
71 .option("-e, --extension <path>", "Path to the extension bundle directory")
72 .option("-k, --api-key <key>", "API key for the LLM provider")
73 .option("--format <format>", 'Output format: "json" (default) or "text"', "json")
74 .option("-d, --debug", "Enable debug output", false)
75
76const runListAction = async (action: () => Promise<void>) => {
77 try {

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected