Sha256: 48f2c2e15160249532f7666a1e29256d1acfca8b9d2f58558f47a735ccb68691
Contents?: true
Size: 285 Bytes
Versions: 10
Compression:
Stored size: 285 Bytes
Contents
require_relative 'initialize' def failed(message) puts message exit 1 end failed('Please specify directory path.') if ARGV.length == 0 dir = ARGV[0] failed("Directory #{dir} already exists.") if File.directory?(dir) `cp -r #{File.expand_path('../../template', __FILE__)} #{dir}`
Version data entries
10 entries across 10 versions & 1 rubygems