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

Method constructor

packages/cli/src/services/CommandService.ts:27–27  ·  view source on GitHub ↗

* Private constructor to enforce the use of the async factory. * @param commands A readonly array of the fully loaded and de-duplicated commands.

(private readonly commands: readonly SlashCommand[])

Source from the content-addressed store, hash-verified

25 * @param commands A readonly array of the fully loaded and de-duplicated commands.
26 */
27 private constructor(private readonly commands: readonly SlashCommand[]) {}
28
29 /**
30 * Asynchronously creates and initializes a new CommandService instance.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected