lib/meroku.rb in meroku-2.0.0 vs lib/meroku.rb in meroku-2.0.1

- old
+ new

@@ -1,30 +1,17 @@ +require "active_support/core_ext/object/try" +require "net/ssh" +require 'net/http' +require "escape" +require "aws-sdk-ec2" +require "dotenv" +require "byebug" +require 'rest-client' require "meroku/version" +require "meroku/tunnel" +require "meroku/cli" +require "meroku/aws" 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