Sha256: ffa00aeabaae3091998b3b08984fff4e71ff8d1b3ae344a72ce2e932d32132be
Contents?: true
Size: 664 Bytes
Versions: 36
Compression:
Stored size: 664 Bytes
Contents
module PowerStencil module CommandProcessors class Root include Climatic::Script::UnimplementedProcessor include Climatic::Proxy def execute if config[:version] if config[:verbose] puts "PowerStencil framework v: #{PowerStencil::VERSION}" else puts PowerStencil::VERSION end return end unless config.command_line_layer.extra_parameters.empty? raise PowerStencil::Error, "Invalid command '#{config.command_line_layer.extra_parameters.first}'" end puts_and_logs 'No action specified. Exiting...' end end end end
Version data entries
36 entries across 36 versions & 1 rubygems