Sha256: 8e3089386333305ddba46a4a9c62ab115cb2d70162789be07b40089fd083e5c4

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

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

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

1 entries across 1 versions & 1 rubygems

Version Path
dubious-0.0.3-java lib/dubious/cli.rb