Class: LcpRuby::CLI::SkillsCommand

Inherits:
Thor
  • Object
show all
Defined in:
lib/lcp_ruby/cli/skills_command.rb

Overview

‘lcp skills install –global|–local` — install the bundled `lcp-*` Claude Code skills without a Rails app. The Rails-free sibling of the in-app `lcp_ruby:claude_skills` generator. Refresh prunes removed `lcp-*` skills.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/lcp_ruby/cli/skills_command.rb', line 12

def self.exit_on_failure?
  true
end

Instance Method Details

#installObject



21
22
23
24
25
# File 'lib/lcp_ruby/cli/skills_command.rb', line 21

def install
  target = resolve_target
  result = LcpRuby::SkillsInstaller.new(target: target).call
  report(result, target)
end