Sha256: af339dbc8d29d061cae302b2d0aae7bf9cf05748f6ff32e225431bdfc4d3f047
Contents?: true
Size: 701 Bytes
Versions: 8
Compression:
Stored size: 701 Bytes
Contents
# encoding: utf-8 module LocalPac module Cli class Validate < Thor desc 'configuration', 'Reload configuration' def pac_file(path) LocalPac.config = LocalPac::Config.new(options[:config_file]) if options[:config_file] LocalPac.config.log_level = options[:log_level] if options[:log_level] LocalPac.config.debug_mode = options[:debug_mode] if options[:debug_mode] LocalPac.config.lock LocalPac.ui_logger.level = LocalPac.config.log_level LocalPac.enable_debug_mode if LocalPac.config.debug_mode LocalPac.ui_logger.info "Validating pac file #{path}" Actions::ValidatePacFile.new(path).run end end end end
Version data entries
8 entries across 8 versions & 1 rubygems