Sha256: 77ff826dcd509fb4f394aa5ee7ef8e9b4f1e98050fe27a20e61a34a7c86084ef

Contents?: true

Size: 230 Bytes

Versions: 8

Compression:

Stored size: 230 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
couch-0.2.0 lib/couch/commands/destroy.rb
couch-0.1.2 lib/couch/commands/destroy.rb
couch-0.1.1 lib/couch/commands/destroy.rb
couch-0.1.0 lib/couch/commands/destroy.rb
couch-0.0.4 lib/couch/commands/destroy.rb
couch-0.0.3 lib/couch/commands/destroy.rb
couch-0.0.2 lib/couch/commands/destroy.rb
couch-0.0.1 lib/couch/commands/destroy.rb