Sha256: d54f739b0da089eb98d1dd2d59ccf5c95e2956e8c28e41d4a55b4ee883d89be1
Contents?: true
Size: 480 Bytes
Versions: 1
Compression:
Stored size: 480 Bytes
Contents
require "sanctuary" module Sanctuary module Planter class CLI def self.start if ARGV.include?("-i") File.open(ARGV[1]) do |f| f.each_line do |line| if line[1..4] == "TYPE" puts "generating #{line.split(":")[1]}" Sanctuary::Generator.start([line.split(":")[1].chomp]) end end end else puts "NO SUCH INPUT" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sanctuary-planter-0.1.0 | lib/sanctuary/planter/cli.rb |