Class: Ocak::Commands::Debt

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/ocak/commands/debt.rb

Instance Method Summary collapse

Instance Method Details

#callObject



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/ocak/commands/debt.rb', line 8

def call(**)
  skill_path = File.join(Dir.pwd, '.claude', 'skills', 'debt', 'SKILL.md')

  unless File.exist?(skill_path)
    warn 'No debt skill found. Run `ocak init` first.'
    exit 1
  end

  puts 'Run this inside Claude Code:'
  puts '  /debt'
end