# File lib/hammer_cli/settings.rb, line 15
    def self.load_from_paths(files)
      files.reverse.each do |path|
        full_path = File.expand_path path
        if File.file? full_path
          load_from_file(full_path)
        elsif File.directory? full_path
          # check for cli_config.yml
          load_from_file(File.join(full_path, 'cli_config.yml'))
          # load config for modules
          Dir.glob(File.join(full_path, 'cli.modules.d/*.yml')).sort.each do |f|
            load_from_file(f)
          end
          Dir.glob(File.join(full_path, 'hammer.modules.d/*.yml')).sort.each do |f|
            warn _("Warning: location hammer.modules.d is deprecated, move your module configurations to cli.modules.d")
            warn "    #{f} -> #{f.gsub('hammer.modules.d', 'cli.modules.d')}"
            load_from_file(f)
          end
        end
      end
    end