MCPcopy Index your code
hub / github.com/CommandCodeAI/BaseAI / debugMode

Function debugMode

packages/baseai/src/utils/debug-mode.ts:4–41  ·  view source on GitHub ↗
(cli: any)

Source from the content-addressed store, hash-verified

2import { heading } from './heading';
3
4export default function debugMode(cli: any) {
5 p.intro(
6 heading({
7 text: 'DEBUG MODE',
8 sub: 'logs will be verbose...',
9 dim: true
10 })
11 );
12 console.log();
13
14 p.intro(
15 heading({
16 text: 'cwd',
17 dim: true
18 })
19 );
20 console.log(process.cwd());
21 console.log();
22
23 p.intro(
24 heading({
25 text: 'cli.flags',
26 dim: true
27 })
28 );
29 console.log(cli.flags);
30 console.log();
31
32 p.intro(
33 heading({
34 text: 'cli.input',
35 sub: 'commands',
36 dim: true
37 })
38 );
39 console.log(cli.input);
40 console.log();
41}

Callers 1

index.tsFile · 0.85

Calls 2

headingFunction · 0.90
logMethod · 0.80

Tested by

no test coverage detected