Sha256: 2ef554370c4d19b9dba54bc64f1854008546575c3c850d41aaf2da70c5f9d7ba

Contents?: true

Size: 222 Bytes

Versions: 7

Compression:

Stored size: 222 Bytes

Contents

require 'rid/generators'

if [nil, "-h", "--help"].include?(ARGV.first)
  Rid::Generators.help 'destroy'
  exit
end

name = ARGV.shift
Rid::Generators.invoke name, ARGV, :behavior => :revoke, :destination_root => Rid.root

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rid-0.5.2 lib/rid/commands/destroy.rb
rid-0.5.1 lib/rid/commands/destroy.rb
rid-0.5.0 lib/rid/commands/destroy.rb
rid-0.4.1 lib/rid/commands/destroy.rb
rid-0.4.0 lib/rid/commands/destroy.rb
rid-0.3.1 lib/rid/commands/destroy.rb
rid-0.3.0 lib/rid/commands/destroy.rb