def self.set_options options
if options.is_a? String
options = { :app_path => options }
end
if options[:quiet] == :command_line
command_line = true
options.delete :quiet
end
options = default_options.merge(load_options(options)).merge(options)
if options[:quiet].nil? and not command_line
options[:quiet] = true
end
if options[:rails4]
options[:rails3] = true
elsif options[:rails5]
options[:rails3] = true
options[:rails4] = true
end
options[:output_formats] = get_output_formats options
options[:github_url] = get_github_url options
options
end