Class: LcpRuby::CLI::SkillsCommand
- Inherits:
-
Thor
- Object
- Thor
- LcpRuby::CLI::SkillsCommand
- Defined in:
- lib/lcp_ruby/cli/skills_command.rb
Overview
‘lcp skills install –global|–local` — install the bundled `lcp-*` AI authoring skills without a Rails app. Refresh prunes removed `lcp-*` skills per target.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
12 13 14 |
# File 'lib/lcp_ruby/cli/skills_command.rb', line 12 def self.exit_on_failure? true end |
Instance Method Details
#install ⇒ Object
23 24 25 26 27 28 |
# File 'lib/lcp_ruby/cli/skills_command.rb', line 23 def install resolve_targets.each do |agent, target| result = LcpRuby::SkillsInstaller.new(target: target).call report(result, agent, target) end end |