# File lib/compass/exec/helpers.rb, line 4 def select_appropriate_command_line_ui(arguments) if Compass::Commands.command_exists? arguments.first SubCommandUI else unless arguments.include?("-h") || arguments.include?("--help") Compass::Logger.new.red do Haml::Util.haml_warn "WARNING: This interface is deprecated. Please use the new subcommand interface.\nSee `compass help` for more information.\n" end end SwitchUI end end