Module: Cline::GlobalState::AutoApproval

Included in:
Cline::GlobalState
Defined in:
lib/cline/global_state/auto_approval.rb

Overview

Auto approval and command execution permissions

Defined Under Namespace

Classes: AutoApprovalSettings

Public API collapse

Class Method Details

.included(base) ⇒ Object

Define all the attributes of the included class

Parameters:

  • base (Class)

    Base class including this mixin



60
61
62
63
64
65
66
67
68
69
70
# File 'lib/cline/global_state/auto_approval.rb', line 60

def self.included(base)
  base.class_eval do
    # @!group Public API

    # @return [AutoApprovalSettings] Auto approval configuration settings
    attribute :auto_approval_settings, AutoApprovalSettings

    # @return [Boolean] YOLO mode toggled flag
    attribute :yolo_mode_toggled, :boolean
  end
end