Sha256: 8f8c3e3d5cd9a248e4286c5de4a0c912ca55f388ff20b4c9f08d882f679dff65
Contents?: true
Size: 487 Bytes
Versions: 1
Compression:
Stored size: 487 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].lstrip.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.1 | lib/sanctuary/planter/cli.rb |