module Kongfigure
Constants
- VERSION
Public Class Methods
logger()
click to toggle source
# File lib/kongfigure.rb, line 41 def self.logger @logger ||= Logger.new(STDOUT) end
start(args)
click to toggle source
# File lib/kongfigure.rb, line 45 def self.start(args) # CLI cli = Kongfigure::CLI.new options = cli.parse!(args) # Parser parser = Kongfigure::Parser.new(options[:file], options[:debug]) http_client = Kongfigure::HTTPClient.new(parser, options[:url]) kong = Kongfigure::Kong.new(parser, http_client) kong.apply! end