#!/usr/bin/env ruby # bin/solara require 'solara' if RUBY_VERSION < '2.0.0' abort("Solara requires Ruby 2.0.0 or higher") end Dir.glob("#{__dir__}/core/scripts/*.rb").each { |file| require file } Dir.glob("#{__dir__}/core/scripts/*.rb").each { |file| require file } Dir.glob("#{__dir__}/core/*.rb").each { |file| require file } Dir.glob("#{__dir__}/core/doctor/*.rb").each { |file| require file } Dir.glob("#{__dir__}/core/aliases/*.rb").each { |file| require file } Dir.glob("#{__dir__}/core/dashboard/*.rb").each { |file| require file } Dir.glob("#{__dir__}/core/brands/*.rb").each { |file| require file } Solara::Setup.new.setup Solara::CLI.start(ARGV)