Sha256: 5f925d25ab991fb47f305098010559a7c6fe4fb772a00ba99287f3adc15c38ef

Contents?: true

Size: 423 Bytes

Versions: 7

Compression:

Stored size: 423 Bytes

Contents

require 'active_support/core_ext'
require 'fileutils'

$:.unshift File.expand_path(File.join("..", "lib", "deano"), File.dirname(__FILE__))
require 'commands'

command = ARGV[0]

Deano::Command.commands.each do |klass|
  if klass.command == command
    klass.new(ARGV).call
    exit(0)
  end
end
Deano::Command.commands.each do |klass|
  if klass.respond_to?(:help)
    puts "deano #{klass.command} #{klass.help}"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
deano-1.2.1 bin/deano
deano-1.2.0 bin/deano
deano-1.1.3 bin/deano
deano-1.1.2 bin/deano
deano-1.1.1 bin/deano
deano-1.1.0 bin/deano
deano-1.0.0 bin/deano