Class: Ralph::Output::NoPluginWarning

Inherits:
Object
  • Object
show all
Defined in:
lib/ralph/output/no_plugin_warning.rb

Class Method Summary collapse

Class Method Details

.call(loop_context) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/ralph/output/no_plugin_warning.rb', line 4

def self.call(loop_context)
  case loop_context.agent.type
  when :claude_code
    warn 'Warning: --no-plugins has no effect with Claude Code agent'
  when :codex
    warn 'Warning: --no-plugins has no effect with Codex agent'
  end
end