MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / exit

Function exit

examples/agents/readme-writer-agent/utils/exit.ts:6–15  ·  view source on GitHub ↗
({path}: {path: string})

Source from the content-addressed store, hash-verified

4import {heading} from './heading';
5
6export async function exit({path}: {path: string}) {
7 p.outro(
8 heading({
9 text: 'readme.md',
10 sub: `instructions written in \n ${pc.dim(figures.pointer)} ${pc.italic(pc.dim(path))}`,
11 green: true,
12 }),
13 );
14 process.exit(0);
15}

Callers 1

index.tsFile · 0.90

Calls 1

headingFunction · 0.90

Tested by

no test coverage detected