Sha256: 02dc5e43a04ce089677d8ab0ccf9bf09403d434880a45521485062111d68627a

Contents?: true

Size: 348 Bytes

Versions: 33

Compression:

Stored size: 348 Bytes

Contents

require "highline"

module Bosh::Bootstrap::Cli::Helpers::Interactions
  def cyan; "\033[36m" end
  def clear; "\033[0m" end
  def bold; "\033[1m" end
  def red; "\033[31m" end
  def green; "\033[32m" end
  def yellow; "\033[33m" end

  # Helper to access HighLine for ask & menu prompts
  def hl
    @hl ||= HighLine.new(@stdin, @stdout)
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
bosh-bootstrap-0.18.1 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.18.0 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.17.1 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.17.0 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.16.2 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.16.1 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.16.0 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.15.0 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.14.5 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.14.4 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.14.3 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.14.2 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.14.1 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.14.0 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.13.2 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.13.1 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.13.0 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.12.0 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.11.15 lib/bosh-bootstrap/cli/helpers/interactions.rb
bosh-bootstrap-0.11.14 lib/bosh-bootstrap/cli/helpers/interactions.rb