Method: Licensed::UI::Shell#initialize

Defined in:
lib/licensed/ui/shell.rb

#initializeShell

Returns a new instance of Shell.



9
10
11
12
# File 'lib/licensed/ui/shell.rb', line 9

def initialize
  @shell = STDOUT.tty? ? Thor::Base.shell.new : Thor::Shell::Basic.new
  @level = ENV["DEBUG"] ? "debug" : "info"
end