#!/usr/bin/env ruby require 'boxy' require 'table_print' unless ARGV.size == 2 puts "usage: boxy " exit -1 end command, url = ARGV case command when 'validate' then tp Boxy.validate(Boxy.load_commands(url)) when 'install' then Boxy.install(Boxy.load_commands(url)) end