MCPcopy
hub / github.com/codeaashu/claude-code / isCommandEnabled

Function isCommandEnabled

src/types/command.ts:214–216  ·  view source on GitHub ↗
(cmd: CommandBase)

Source from the content-addressed store, hash-verified

212
213/** Resolves whether the command is enabled, defaulting to true. */
214export function isCommandEnabled(cmd: CommandBase): boolean {
215 return cmd.isEnabled?.() ?? true
216}
217

Callers 3

getCommandsFunction · 0.85
handlePromptSubmitFunction · 0.85
REPLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected