MCPcopy Create free account
hub / github.com/compozy/agh / newSkillDisableCommand

Function newSkillDisableCommand

internal/cli/skill_commands.go:429–438  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

427}
428
429func newSkillDisableCommand(deps commandDeps) *cobra.Command {
430 return newSkillActionCommand(deps, "disable <name>", "Disable a daemon-managed skill", func(
431 ctx context.Context,
432 client DaemonClient,
433 name string,
434 query SkillQuery,
435 ) (SkillActionRecord, error) {
436 return client.DisableSkill(ctx, name, query)
437 })
438}
439
440func newSkillActionCommand(
441 deps commandDeps,

Callers 1

newSkillCommandFunction · 0.85

Calls 2

newSkillActionCommandFunction · 0.85
DisableSkillMethod · 0.65

Tested by

no test coverage detected