class ClaudeCodeSlashCommands::Installer
def install_command_from_local(command_file)
def install_command_from_local(command_file) filename = command_file.basename.to_s target_file = @commands_target.join(filename) content = command_file.read if target_file.exist? if target_file.read == content puts "⏭️ #{filename} already exists and is identical" return end unless confirm_overwrite(filename) puts "⏭️ Skipping #{filename}" return end end target_file.write(content) puts "📄 Installed #{filename}" end