Sha256: a6b3b7549a2c6d71fb143f3f418431da2bdb8582aae0010a7cd218d004006d9c
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
#!/usr/bin/env ruby %w[rubygems thor].each { |gem| require gem } require File.dirname(__FILE__) + "/../lib/padrino-gen" Padrino::Generators::Base.start(ARGV) Padrino::Generators.lockup! generator_kind = ARGV.delete_at(0).to_s.downcase.to_sym if ARGV[0].present? generator_class = Padrino::Generators.mappings[generator_kind] if generator_class generator_class.start(ARGV) else puts "Please specify generator to use (#{Padrino::Generators.mappings.keys.join(", ")})" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
padrino-gen-0.6.1 | bin/padrino-gen |