Sha256: 1a02ef6a8e788726e682a83e81ea5a0e9397070dac4e50a859a3998d00785eca

Contents?: true

Size: 249 Bytes

Versions: 4

Compression:

Stored size: 249 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 the generic command!!! WAT?'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nutella_framework-0.3.1 lib/core/command.rb
nutella_framework-0.3.0 lib/core/command.rb
nutella_framework-0.2.1 lib/core/command.rb
nutella_framework-0.2.0 lib/core/command.rb