class Thor::Actions::EmptyDirectory

def invoke_with_conflict_check(&block)


conditions are met.
Receives a hash of options and just execute the block if some
def invoke_with_conflict_check(&block)
  if exists?
    on_conflict_behavior(&block)
  else
    yield unless pretend?
    say_status :create, :green
  end
  destination
rescue Errno::EISDIR, Errno::EEXIST
  on_file_clash_behavior
end