Sha256: e4985aa2b624e4f5433d159d704180cede1b709ca8d34c535d1135de75288f79

Contents?: true

Size: 339 Bytes

Versions: 6

Compression:

Stored size: 339 Bytes

Contents

require "yaml"

require "wolfe/cleanup"
require "wolfe/cli"
require "wolfe/version"

module Wolfe
  def self.run_cleanup file_path
    raise ArgumentError.new("Cleanup configuration file does not exist.") unless File.exist? file_path

    config = YAML::load_file( file_path )
    cleanup = Cleanup.new(config)
    cleanup.start
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wolfe-1.3.1 lib/wolfe.rb
wolfe-1.3.0 lib/wolfe.rb
wolfe-1.2.0 lib/wolfe.rb
wolfe-1.1.1 lib/wolfe.rb
wolfe-1.1.0 lib/wolfe.rb
wolfe-1.0.0 lib/wolfe.rb