MCPcopy Create free account
hub / github.com/anus-dev/ANUS / constructor

Method constructor

packages/cli/src/services/FileCommandLoader.ts:66–68  ·  view source on GitHub ↗
(private readonly config: Config | null)

Source from the content-addressed store, hash-verified

64 private readonly projectRoot: string;
65
66 constructor(private readonly config: Config | null) {
67 this.projectRoot = config?.getProjectRoot() || process.cwd();
68 }
69
70 /**
71 * Loads all commands from user, project, and extension directories.

Callers

nothing calls this directly

Calls 1

getProjectRootMethod · 0.80

Tested by

no test coverage detected