Sha256: 1aba2606ff2214cc29c7e9339fb348c8d5c24bab9a76ea9581cfc2810569f6e8

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

require 'thor'
require 'thor/group'
require 'active_support/core_ext'

require File.dirname(__FILE__) + '/cli/init'
require File.dirname(__FILE__) + '/cli/generator'

module Dubious

  module CLI
    
    class Main < Thor
      desc "new NAME", "creates a new dubious project in NAME"
      subcommand :new, Init
      
      desc "generate GENERATOR", "run generator GENERATOR"
      subcommand :generate, Generator
    end
    
    def self.start
      Main.start
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dubious-0.0.2-java lib/dubious/cli.rb
dubious-0.0.1-java lib/dubious/cli.rb