def import_local(path)
      Dir[path].each do |file|
        validate_file_contains_plugin!(file) do
          # Without the expand_path it would fail if the path doesn't start with ./
          require File.expand_path(file)
        end

        refresh_plugins
      end
    end
def import_local(path)
      Dir[path].each do |file|
        validate_file_contains_plugin!(file) do
          # Without the expand_path it would fail if the path doesn't start with ./
          require File.expand_path(file)
        end

        refresh_plugins
      end
    end
@!group Plugins
 Import one or more local plugins.

 @param    [String] path
           The path to the file to import
           Can also be a pattern (./**/*plugin.rb)
 @return [void]