Sha256: 72937176ad63ae8c4bdfea247f134049427ff73e86063ae1326a6c7aa4b7b097

Contents?: true

Size: 246 Bytes

Versions: 2

Compression:

Stored size: 246 Bytes

Contents

# CLI command

module Nutella  
  class Command 
    class << self; attr_accessor :description end
  
    # Commands overload this method to execute
    def run (args=nil)
      console.error("Running a generic command! POOP!")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nutella_framework-0.1.2 lib/core/command.rb
nutella_framework-0.1.0 lib/core/command.rb