MCPcopy Create free account
hub / github.com/arctic-cli/interface / handler

Function handler

packages/arctic/src/cli/cmd/debug/file.ts:15–20  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

13 description: "Search query",
14 }),
15 async handler(args) {
16 await bootstrap(process.cwd(), async () => {
17 const results = await File.search({ query: args.query })
18 process.stdout.write(results.join(EOL) + EOL)
19 })
20 },
21})
22
23const FileReadCommand = cmd({

Callers

nothing calls this directly

Calls 6

bootstrapFunction · 0.90
cwdMethod · 0.65
readMethod · 0.45
statusMethod · 0.45
listMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected