require "meroku/version" require "meroku/infrastructure" require 'aws-sdk-ec2' require 'dotenv/load' module Meroku def self.cli_start(*args) case args.join(" ") when "infrastructure spawn" Meroku::Infrastructure.spawn when "infrastructure despawn" Meroku::Infrastructure.despawn else print_help end end def self.print_help puts <<~HEREDOC Usage: meroku command subcommand Examples meroku infrastrucuture spawn # Spawns server HEREDOC end end