Sha256: f729b7a82095e0123d567160307943fd25bbdd63aba2f2032f318f05ae928706

Contents?: true

Size: 223 Bytes

Versions: 7

Compression:

Stored size: 223 Bytes

Contents

require 'rid/generators'

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

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