module Branchtree::Context

Attributes

cmd[W]
prompt[W]
qcmd[W]

Public Class Methods

cmd() click to toggle source
# File lib/branchtree.rb, line 34
def cmd
  @cmd ||= TTY::Command.new(printer: :null)
end
logger() click to toggle source
# File lib/branchtree.rb, line 46
def logger
  @logger ||= TTY::Logger.new
end
prompt() click to toggle source
# File lib/branchtree.rb, line 42
def prompt
  @prompt ||= TTY::Prompt.new
end
qcmd() click to toggle source
# File lib/branchtree.rb, line 38
def qcmd
  @qcmd ||= TTY::Command.new(printer: :quiet)
end