Class: RubyCode::Views::Cli::AutoApproveEnabled

Inherits:
Object
  • Object
show all
Defined in:
lib/rubycode/views/cli/auto_approve_enabled.rb

Overview

Builds auto-approve enabled message

Class Method Summary collapse

Class Method Details

.build ⇒ Object



10
11
12
13
14
15
# File 'lib/rubycode/views/cli/auto_approve_enabled.rb', line 10

def self.build
  pastel = Pastel.new
  "\n#{pastel.green("✓")} Auto-approve enabled for write and update operations\n" \
    "#{pastel.yellow("⚠")} Files will be modified without confirmation.\n" \
    "Use 'auto-approve off' to disable.\n\n"
end