class Plugin

def svn_command(cmd, options = {})

def svn_command(cmd, options = {})
  root = rails_env.root
  mkdir_p "#{root}/vendor/plugins"
  base_cmd = "svn #{cmd} #{uri} \"#{root}/vendor/plugins/#{name}\""
  base_cmd += ' -q' if options[:quiet] and not $verbose
  base_cmd += " -r #{options[:revision]}" if options[:revision]
  puts base_cmd if $verbose
  system(base_cmd)
end