require 'couch/generators' if [nil, "-h", "--help"].include?(ARGV.first) Couch::Generators.help 'destroy' exit end name = ARGV.shift Couch::Generators.invoke name, ARGV, :behavior => :revoke, :destination_root => Couch.root