Sha256: b64eb334d3578d1caa088db2a687857369a7d12be0559c2b15cbe779401175c3
Contents?: true
Size: 692 Bytes
Versions: 10
Compression:
Stored size: 692 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'thor' require 'thor/runner' require 'pancake/generators' case ARGV.shift when "short" Pancake::Generators::Short.start when "micro" Pancake::Generators::Micro.start when '-v', '--version' version_file = File.dirname(__FILE__) + '/../VERSION' if File.exists?(version_file) and version = File.read(version_file) puts "Pancake Version: #{version}" end else puts %{ Usage: pancake-gen [type|options] /path/to/your/app Type can be: micro, short Options: -v, --version Show the version number and quit. -h, --help Show this help message and quit. } end
Version data entries
10 entries across 10 versions & 1 rubygems