module Thor::Base

def shell


it will use a colored log, otherwise it will use a basic one without color.
Returns the shell used in all Thor classes. If you are in a Unix platform
def shell
  @shell ||= if ENV['THOR_SHELL'] && ENV['THOR_SHELL'].size > 0
               Thor::Shell.const_get(ENV['THOR_SHELL'])
             elsif RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ && !ENV['ANSICON']
               Thor::Shell::Basic
             else
               Thor::Shell::Color
             end
end