]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/rm/rm_dummy_runner.rb
In the middle of refactoring the binary to accept three modes of execution. Does...
[mailshears.git] / lib / rm / rm_dummy_runner.rb
diff --git a/lib/rm/rm_dummy_runner.rb b/lib/rm/rm_dummy_runner.rb
new file mode 100644 (file)
index 0000000..c79e046
--- /dev/null
@@ -0,0 +1,16 @@
+class RmDummyRunner
+  include Runner
+
+  def run(plugin, targets)
+    targets.each do |target|
+      if target.include?('@') then
+        puts "Would remove account: #{target}"
+      else
+        puts "Would remove domain: #{target}"
+      end
+    end
+
+    # TODO: remove from postfixadmin as well.
+  end
+
+end